pulp_file_client 3.111.2 → 3.112.0
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentFilesApi.md +18 -0
- data/lib/pulp_file_client/api/content_files_api.rb +27 -0
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/content_files_api_spec.rb +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e807ad9c47b1f0f9840e15f12afe356949769e9e8e7c87e83a44f1f1b40dcdd
|
|
4
|
+
data.tar.gz: 5d0d3fc746bbd9b530e044aacf3a83b7658912da1363f1c46895c55f2e30070f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 72171628cabe72bd107cdad3dd0eede78924f6c0d414a84f9eb776a8101f3cbb9fc40fdad3730bd37b46bb0e671d6c8f566c986c3676ce1adc6bf7598d56b62b
|
|
7
|
+
data.tar.gz: ccadc34213ec25fa90fc73194c157f56b278b444fd453fc47485212de080109a231763e3f4552e41062d1365a6d03492c07060c29696efcd846dc1a6d212e288
|
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.
|
|
10
|
+
- Package version: 3.112.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_file_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_file_client-3.
|
|
28
|
+
gem install ./pulp_file_client-3.112.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_file_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_file_client-3.112.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_file_client', '~> 3.
|
|
37
|
+
gem 'pulp_file_client', '~> 3.112.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/ContentFilesApi.md
CHANGED
|
@@ -125,6 +125,7 @@ end
|
|
|
125
125
|
api_instance = PulpFileClient::ContentFilesApi.new
|
|
126
126
|
opts = {
|
|
127
127
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
128
|
+
digest: 'digest_example', # String | Filter results where digest matches value
|
|
128
129
|
limit: 56, # Integer | Number of results to return per page.
|
|
129
130
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
130
131
|
ordering: ['-digest'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -135,6 +136,14 @@ opts = {
|
|
|
135
136
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
136
137
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
137
138
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
|
139
|
+
relative_path__contains: 'relative_path__contains_example', # String | Filter results where relative_path contains value
|
|
140
|
+
relative_path__icontains: 'relative_path__icontains_example', # String | Filter results where relative_path contains value
|
|
141
|
+
relative_path__iexact: 'relative_path__iexact_example', # String | Filter results where relative_path matches value
|
|
142
|
+
relative_path__in: ['inner_example'], # Array<String> | Filter results where relative_path is in a comma-separated list of values
|
|
143
|
+
relative_path__iregex: 'relative_path__iregex_example', # String | Filter results where relative_path matches regex value
|
|
144
|
+
relative_path__istartswith: 'relative_path__istartswith_example', # String | Filter results where relative_path starts with value
|
|
145
|
+
relative_path__regex: 'relative_path__regex_example', # String | Filter results where relative_path matches regex value
|
|
146
|
+
relative_path__startswith: 'relative_path__startswith_example', # String | Filter results where relative_path starts with value
|
|
138
147
|
repository_version: 'repository_version_example', # String |
|
|
139
148
|
repository_version_added: 'repository_version_added_example', # String |
|
|
140
149
|
repository_version_removed: 'repository_version_removed_example', # String |
|
|
@@ -175,6 +184,7 @@ end
|
|
|
175
184
|
| Name | Type | Description | Notes |
|
|
176
185
|
| ---- | ---- | ----------- | ----- |
|
|
177
186
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
187
|
+
| **digest** | **String** | Filter results where digest matches value | [optional] |
|
|
178
188
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
179
189
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
180
190
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
@@ -185,6 +195,14 @@ end
|
|
|
185
195
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
186
196
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
187
197
|
| **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
|
|
198
|
+
| **relative_path__contains** | **String** | Filter results where relative_path contains value | [optional] |
|
|
199
|
+
| **relative_path__icontains** | **String** | Filter results where relative_path contains value | [optional] |
|
|
200
|
+
| **relative_path__iexact** | **String** | Filter results where relative_path matches value | [optional] |
|
|
201
|
+
| **relative_path__in** | [**Array<String>**](String.md) | Filter results where relative_path is in a comma-separated list of values | [optional] |
|
|
202
|
+
| **relative_path__iregex** | **String** | Filter results where relative_path matches regex value | [optional] |
|
|
203
|
+
| **relative_path__istartswith** | **String** | Filter results where relative_path starts with value | [optional] |
|
|
204
|
+
| **relative_path__regex** | **String** | Filter results where relative_path matches regex value | [optional] |
|
|
205
|
+
| **relative_path__startswith** | **String** | Filter results where relative_path starts with value | [optional] |
|
|
188
206
|
| **repository_version** | **String** | | [optional] |
|
|
189
207
|
| **repository_version_added** | **String** | | [optional] |
|
|
190
208
|
| **repository_version_removed** | **String** | | [optional] |
|
|
@@ -127,6 +127,7 @@ module PulpFileClient
|
|
|
127
127
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
|
128
128
|
# @param [Hash] opts the optional parameters
|
|
129
129
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
130
|
+
# @option opts [String] :digest Filter results where digest matches value
|
|
130
131
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
131
132
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
132
133
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -137,6 +138,14 @@ module PulpFileClient
|
|
|
137
138
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
138
139
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
139
140
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
141
|
+
# @option opts [String] :relative_path__contains Filter results where relative_path contains value
|
|
142
|
+
# @option opts [String] :relative_path__icontains Filter results where relative_path contains value
|
|
143
|
+
# @option opts [String] :relative_path__iexact Filter results where relative_path matches value
|
|
144
|
+
# @option opts [Array<String>] :relative_path__in Filter results where relative_path is in a comma-separated list of values
|
|
145
|
+
# @option opts [String] :relative_path__iregex Filter results where relative_path matches regex value
|
|
146
|
+
# @option opts [String] :relative_path__istartswith Filter results where relative_path starts with value
|
|
147
|
+
# @option opts [String] :relative_path__regex Filter results where relative_path matches regex value
|
|
148
|
+
# @option opts [String] :relative_path__startswith Filter results where relative_path starts with value
|
|
140
149
|
# @option opts [String] :repository_version
|
|
141
150
|
# @option opts [String] :repository_version_added
|
|
142
151
|
# @option opts [String] :repository_version_removed
|
|
@@ -153,6 +162,7 @@ module PulpFileClient
|
|
|
153
162
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
|
154
163
|
# @param [Hash] opts the optional parameters
|
|
155
164
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
165
|
+
# @option opts [String] :digest Filter results where digest matches value
|
|
156
166
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
157
167
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
168
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -163,6 +173,14 @@ module PulpFileClient
|
|
|
163
173
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
164
174
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
165
175
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
176
|
+
# @option opts [String] :relative_path__contains Filter results where relative_path contains value
|
|
177
|
+
# @option opts [String] :relative_path__icontains Filter results where relative_path contains value
|
|
178
|
+
# @option opts [String] :relative_path__iexact Filter results where relative_path matches value
|
|
179
|
+
# @option opts [Array<String>] :relative_path__in Filter results where relative_path is in a comma-separated list of values
|
|
180
|
+
# @option opts [String] :relative_path__iregex Filter results where relative_path matches regex value
|
|
181
|
+
# @option opts [String] :relative_path__istartswith Filter results where relative_path starts with value
|
|
182
|
+
# @option opts [String] :relative_path__regex Filter results where relative_path matches regex value
|
|
183
|
+
# @option opts [String] :relative_path__startswith Filter results where relative_path starts with value
|
|
166
184
|
# @option opts [String] :repository_version
|
|
167
185
|
# @option opts [String] :repository_version_added
|
|
168
186
|
# @option opts [String] :repository_version_removed
|
|
@@ -183,6 +201,7 @@ module PulpFileClient
|
|
|
183
201
|
|
|
184
202
|
# query parameters
|
|
185
203
|
query_params = opts[:query_params] || {}
|
|
204
|
+
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
186
205
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
187
206
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
188
207
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
@@ -193,6 +212,14 @@ module PulpFileClient
|
|
|
193
212
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
194
213
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
195
214
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
|
215
|
+
query_params[:'relative_path__contains'] = opts[:'relative_path__contains'] if !opts[:'relative_path__contains'].nil?
|
|
216
|
+
query_params[:'relative_path__icontains'] = opts[:'relative_path__icontains'] if !opts[:'relative_path__icontains'].nil?
|
|
217
|
+
query_params[:'relative_path__iexact'] = opts[:'relative_path__iexact'] if !opts[:'relative_path__iexact'].nil?
|
|
218
|
+
query_params[:'relative_path__in'] = @api_client.build_collection_param(opts[:'relative_path__in'], :csv) if !opts[:'relative_path__in'].nil?
|
|
219
|
+
query_params[:'relative_path__iregex'] = opts[:'relative_path__iregex'] if !opts[:'relative_path__iregex'].nil?
|
|
220
|
+
query_params[:'relative_path__istartswith'] = opts[:'relative_path__istartswith'] if !opts[:'relative_path__istartswith'].nil?
|
|
221
|
+
query_params[:'relative_path__regex'] = opts[:'relative_path__regex'] if !opts[:'relative_path__regex'].nil?
|
|
222
|
+
query_params[:'relative_path__startswith'] = opts[:'relative_path__startswith'] if !opts[:'relative_path__startswith'].nil?
|
|
196
223
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
197
224
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
198
225
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -58,6 +58,7 @@ describe 'ContentFilesApi' do
|
|
|
58
58
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
|
59
59
|
# @param [Hash] opts the optional parameters
|
|
60
60
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
61
|
+
# @option opts [String] :digest Filter results where digest matches value
|
|
61
62
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
62
63
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
63
64
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -68,6 +69,14 @@ describe 'ContentFilesApi' do
|
|
|
68
69
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
69
70
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
70
71
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
72
|
+
# @option opts [String] :relative_path__contains Filter results where relative_path contains value
|
|
73
|
+
# @option opts [String] :relative_path__icontains Filter results where relative_path contains value
|
|
74
|
+
# @option opts [String] :relative_path__iexact Filter results where relative_path matches value
|
|
75
|
+
# @option opts [Array<String>] :relative_path__in Filter results where relative_path is in a comma-separated list of values
|
|
76
|
+
# @option opts [String] :relative_path__iregex Filter results where relative_path matches regex value
|
|
77
|
+
# @option opts [String] :relative_path__istartswith Filter results where relative_path starts with value
|
|
78
|
+
# @option opts [String] :relative_path__regex Filter results where relative_path matches regex value
|
|
79
|
+
# @option opts [String] :relative_path__startswith Filter results where relative_path starts with value
|
|
71
80
|
# @option opts [String] :repository_version
|
|
72
81
|
# @option opts [String] :repository_version_added
|
|
73
82
|
# @option opts [String] :repository_version_removed
|