pulp_file_client 1.12.0 → 1.13.0.dev1676430719
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulp_file_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/DistributionsFileApi.md +4 -0
- data/docs/RepositoriesFileApi.md +16 -0
- data/lib/pulp_file_client/api/distributions_file_api.rb +6 -0
- data/lib/pulp_file_client/api/repositories_file_api.rb +24 -0
- data/lib/pulp_file_client/models/nested_role.rb +19 -0
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/distributions_file_api_spec.rb +2 -0
- data/spec/api/repositories_file_api_spec.rb +8 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f31eb9b2384ea2caebf358736d75c8346646e731d9c33b1ff4d2d7e3d4b177fe
|
4
|
+
data.tar.gz: 63a1a6261a1cfb663ac5f5cb89952783a22792ac917978317fd026ae2cb636b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 272f5032b40b2f02bac76066f040311ecca9c6435f1030c1ea7c15939cc039e07b83b62aab3e1b0ce959e2280cabf116bc7042f3106241814cdf1cb91d799bb0
|
7
|
+
data.tar.gz: 90481e85e4282c84add754f33f058cf72e1401febe2b4ba7706cfc6330b43c79bc4487b2dae5cefb16618036b07fc95f44c282793e1af419316dfbaf8cb34fe1
|
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: 1.
|
10
|
+
- Package version: 1.13.0.dev1676430719
|
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_file_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_file_client-1.
|
27
|
+
gem install ./pulp_file_client-1.13.0.dev1676430719.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-1.
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-1.13.0.dev1676430719.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_file_client', '~> 1.
|
36
|
+
gem 'pulp_file_client', '~> 1.13.0.dev1676430719'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -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]
|
data/docs/RepositoriesFileApi.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
|
|
@@ -229,6 +229,8 @@ module PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 [PaginatedfileFileRepositoryResponseList]
|
@@ -247,6 +255,14 @@ module PulpFileClient
|
|
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<(PaginatedfileFileRepositoryResponseList, Integer, Hash)>] PaginatedfileFileRepositoryResponseList data, response status code and response headers
|
@@ -273,6 +289,14 @@ module PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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)
|
@@ -85,6 +85,8 @@ describe 'DistributionsFileApi' 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 'RepositoriesFileApi' 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 [PaginatedfileFileRepositoryResponseList]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_file_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0.dev1676430719
|
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-
|
11
|
+
date: 2023-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -233,9 +233,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
233
233
|
version: '1.9'
|
234
234
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
235
235
|
requirements:
|
236
|
-
- - "
|
236
|
+
- - ">"
|
237
237
|
- !ruby/object:Gem::Version
|
238
|
-
version:
|
238
|
+
version: 1.3.1
|
239
239
|
requirements: []
|
240
240
|
rubygems_version: 3.0.3.1
|
241
241
|
signing_key:
|