pulp_file_client 1.6.0.dev01611632407 → 1.6.0.dev01612409526
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 +2 -0
- data/docs/FileFileDistribution.md +2 -0
- data/docs/FileFileDistributionResponse.md +2 -0
- data/docs/FileFileRemote.md +5 -1
- data/docs/FileFileRemoteResponse.md +5 -1
- data/docs/FileFileRepository.md +3 -1
- data/docs/FileFileRepositoryResponse.md +2 -0
- data/docs/PatchedfileFileDistribution.md +2 -0
- data/docs/PatchedfileFileRemote.md +5 -1
- data/docs/PatchedfileFileRepository.md +3 -1
- data/docs/RemotesFileApi.md +2 -0
- data/docs/RepositoriesFileApi.md +2 -0
- data/lib/pulp_file_client/api/distributions_file_api.rb +3 -0
- data/lib/pulp_file_client/api/remotes_file_api.rb +3 -0
- data/lib/pulp_file_client/api/repositories_file_api.rb +3 -0
- data/lib/pulp_file_client/models/file_file_distribution.rb +10 -1
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +10 -1
- data/lib/pulp_file_client/models/file_file_remote.rb +25 -5
- data/lib/pulp_file_client/models/file_file_remote_response.rb +25 -5
- data/lib/pulp_file_client/models/file_file_repository.rb +10 -1
- data/lib/pulp_file_client/models/file_file_repository_response.rb +10 -1
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +10 -1
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +25 -5
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +10 -1
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/distributions_file_api_spec.rb +1 -0
- data/spec/api/remotes_file_api_spec.rb +1 -0
- data/spec/api/repositories_file_api_spec.rb +1 -0
- data/spec/models/file_file_distribution_response_spec.rb +6 -0
- data/spec/models/file_file_distribution_spec.rb +6 -0
- data/spec/models/file_file_remote_response_spec.rb +12 -0
- data/spec/models/file_file_remote_spec.rb +12 -0
- data/spec/models/file_file_repository_response_spec.rb +6 -0
- data/spec/models/file_file_repository_spec.rb +6 -0
- data/spec/models/patchedfile_file_distribution_spec.rb +6 -0
- data/spec/models/patchedfile_file_remote_spec.rb +12 -0
- data/spec/models/patchedfile_file_repository_spec.rb +6 -0
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5379410e5d0e83a49b20d05fce3fc16c19c92e4105627b56846f8835054f5029
|
4
|
+
data.tar.gz: dac2767d5b053229a2371fe5e127ca91f7e264376f5ee2062ad715acba1f54e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93a234043f787be91cc39bbeefd384f3a0f605813bd9c36f534e326cec91d56e447b0e9b5a49b60d99ea5472c1a7741114c8b4bf6b7a5cec3834300eecddb395
|
7
|
+
data.tar.gz: bb295d45e56530d0d6b8b741912bf947c051c6309e0e568a64228992585bde79c5cfdfa557c43de88b32e6163280a45673a10a6bf3b4349191d8c1b6b404cbcd
|
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.6.0.
|
10
|
+
- Package version: 1.6.0.dev01612409526
|
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.6.0.
|
27
|
+
gem install ./pulp_file_client-1.6.0.dev01612409526.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-1.6.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-1.6.0.dev01612409526.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.6.0.
|
36
|
+
gem 'pulp_file_client', '~> 1.6.0.dev01612409526'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -153,6 +153,7 @@ opts = {
|
|
153
153
|
name__startswith: 'name__startswith_example', # String | name__startswith
|
154
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
155
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
156
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
156
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
157
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
158
159
|
}
|
@@ -183,6 +184,7 @@ Name | Type | Description | Notes
|
|
183
184
|
**name__startswith** | **String**| name__startswith | [optional]
|
184
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
185
186
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
187
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
186
188
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
187
189
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
188
190
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
11
|
**publication** | **String** | Publication to be served | [optional]
|
11
12
|
|
@@ -16,6 +17,7 @@ require 'PulpFileClient'
|
|
16
17
|
|
17
18
|
instance = PulpFileClient::FileFileDistribution.new(base_path: null,
|
18
19
|
content_guard: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
name: null,
|
20
22
|
publication: null)
|
21
23
|
```
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
10
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
14
|
**publication** | **String** | Publication to be served | [optional]
|
14
15
|
|
@@ -22,6 +23,7 @@ instance = PulpFileClient::FileFileDistributionResponse.new(pulp_href: null,
|
|
22
23
|
base_path: null,
|
23
24
|
base_url: null,
|
24
25
|
content_guard: null,
|
26
|
+
pulp_labels: null,
|
25
27
|
name: null,
|
26
28
|
publication: null)
|
27
29
|
```
|
data/docs/FileFileRemote.md
CHANGED
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
|
23
25
|
## Code Sample
|
24
26
|
|
@@ -34,12 +36,14 @@ instance = PulpFileClient::FileFileRemote.new(name: null,
|
|
34
36
|
proxy_url: null,
|
35
37
|
username: null,
|
36
38
|
password: null,
|
39
|
+
pulp_labels: null,
|
37
40
|
download_concurrency: null,
|
38
41
|
policy: null,
|
39
42
|
total_timeout: null,
|
40
43
|
connect_timeout: null,
|
41
44
|
sock_connect_timeout: null,
|
42
|
-
sock_read_timeout: null
|
45
|
+
sock_read_timeout: null,
|
46
|
+
rate_limit: null)
|
43
47
|
```
|
44
48
|
|
45
49
|
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
19
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
20
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
@@ -22,6 +23,7 @@ Name | Type | Description | Notes
|
|
22
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
25
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
27
|
|
26
28
|
## Code Sample
|
27
29
|
|
@@ -39,13 +41,15 @@ instance = PulpFileClient::FileFileRemoteResponse.new(pulp_href: null,
|
|
39
41
|
proxy_url: null,
|
40
42
|
username: null,
|
41
43
|
password: null,
|
44
|
+
pulp_labels: null,
|
42
45
|
pulp_last_updated: null,
|
43
46
|
download_concurrency: null,
|
44
47
|
policy: null,
|
45
48
|
total_timeout: null,
|
46
49
|
connect_timeout: null,
|
47
50
|
sock_connect_timeout: null,
|
48
|
-
sock_read_timeout: null
|
51
|
+
sock_read_timeout: null,
|
52
|
+
rate_limit: null)
|
49
53
|
```
|
50
54
|
|
51
55
|
|
data/docs/FileFileRepository.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. |
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpFileClient'
|
15
16
|
|
16
|
-
instance = PulpFileClient::FileFileRepository.new(
|
17
|
+
instance = PulpFileClient::FileFileRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
11
12
|
**name** | **String** | A unique name for this repository. |
|
12
13
|
**description** | **String** | An optional description. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpFileClient'
|
|
20
21
|
instance = PulpFileClient::FileFileRepositoryResponse.new(pulp_href: null,
|
21
22
|
pulp_created: null,
|
22
23
|
versions_href: null,
|
24
|
+
pulp_labels: null,
|
23
25
|
latest_version_href: null,
|
24
26
|
name: null,
|
25
27
|
description: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
10
11
|
**publication** | **String** | Publication to be served | [optional]
|
11
12
|
|
@@ -16,6 +17,7 @@ require 'PulpFileClient'
|
|
16
17
|
|
17
18
|
instance = PulpFileClient::PatchedfileFileDistribution.new(base_path: null,
|
18
19
|
content_guard: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
name: null,
|
20
22
|
publication: null)
|
21
23
|
```
|
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
|
23
25
|
## Code Sample
|
24
26
|
|
@@ -34,12 +36,14 @@ instance = PulpFileClient::PatchedfileFileRemote.new(name: null,
|
|
34
36
|
proxy_url: null,
|
35
37
|
username: null,
|
36
38
|
password: null,
|
39
|
+
pulp_labels: null,
|
37
40
|
download_concurrency: null,
|
38
41
|
policy: null,
|
39
42
|
total_timeout: null,
|
40
43
|
connect_timeout: null,
|
41
44
|
sock_connect_timeout: null,
|
42
|
-
sock_read_timeout: null
|
45
|
+
sock_read_timeout: null,
|
46
|
+
rate_limit: null)
|
43
47
|
```
|
44
48
|
|
45
49
|
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpFileClient'
|
15
16
|
|
16
|
-
instance = PulpFileClient::PatchedfileFileRepository.new(
|
17
|
+
instance = PulpFileClient::PatchedfileFileRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
data/docs/RemotesFileApi.md
CHANGED
@@ -149,6 +149,7 @@ opts = {
|
|
149
149
|
name__startswith: 'name__startswith_example', # String | name__startswith
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
151
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
152
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
152
153
|
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
153
154
|
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
154
155
|
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
@@ -181,6 +182,7 @@ Name | Type | Description | Notes
|
|
181
182
|
**name__startswith** | **String**| name__startswith | [optional]
|
182
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
183
184
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
185
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
184
186
|
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
185
187
|
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
186
188
|
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
data/docs/RepositoriesFileApi.md
CHANGED
@@ -151,6 +151,7 @@ opts = {
|
|
151
151
|
name__startswith: 'name__startswith_example', # String | name__startswith
|
152
152
|
offset: 56, # Integer | The initial index from which to return the results.
|
153
153
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
154
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
154
155
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
155
156
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
156
157
|
}
|
@@ -177,6 +178,7 @@ Name | Type | Description | Notes
|
|
177
178
|
**name__startswith** | **String**| name__startswith | [optional]
|
178
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
180
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
181
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
180
182
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
181
183
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
182
184
|
|
@@ -160,6 +160,7 @@ module PulpFileClient
|
|
160
160
|
# @option opts [String] :name__startswith name__startswith
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
162
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
163
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
163
164
|
# @option opts [String] :fields A list of fields to include in the response.
|
164
165
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
165
166
|
# @return [PaginatedfileFileDistributionResponseList]
|
@@ -183,6 +184,7 @@ module PulpFileClient
|
|
183
184
|
# @option opts [String] :name__startswith name__startswith
|
184
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
185
186
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
187
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
186
188
|
# @option opts [String] :fields A list of fields to include in the response.
|
187
189
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
188
190
|
# @return [Array<(PaginatedfileFileDistributionResponseList, Integer, Hash)>] PaginatedfileFileDistributionResponseList data, response status code and response headers
|
@@ -207,6 +209,7 @@ module PulpFileClient
|
|
207
209
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
208
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
209
211
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
212
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
210
213
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
211
214
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
212
215
|
|
@@ -156,6 +156,7 @@ module PulpFileClient
|
|
156
156
|
# @option opts [String] :name__startswith name__startswith
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
159
160
|
# @option opts [String] :pulp_last_updated pulp_last_updated
|
160
161
|
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
161
162
|
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
@@ -181,6 +182,7 @@ module PulpFileClient
|
|
181
182
|
# @option opts [String] :name__startswith name__startswith
|
182
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
183
184
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
185
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
184
186
|
# @option opts [String] :pulp_last_updated pulp_last_updated
|
185
187
|
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
186
188
|
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
@@ -207,6 +209,7 @@ module PulpFileClient
|
|
207
209
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
208
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
209
211
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
212
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
210
213
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
211
214
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
212
215
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
@@ -156,6 +156,7 @@ module PulpFileClient
|
|
156
156
|
# @option opts [String] :name__startswith name__startswith
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
159
160
|
# @option opts [String] :fields A list of fields to include in the response.
|
160
161
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
162
|
# @return [PaginatedfileFileRepositoryResponseList]
|
@@ -175,6 +176,7 @@ module PulpFileClient
|
|
175
176
|
# @option opts [String] :name__startswith name__startswith
|
176
177
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
178
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
179
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
178
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
179
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
182
|
# @return [Array<(PaginatedfileFileRepositoryResponseList, Integer, Hash)>] PaginatedfileFileRepositoryResponseList data, response status code and response headers
|
@@ -195,6 +197,7 @@ module PulpFileClient
|
|
195
197
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
196
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
197
199
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
200
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
198
201
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
199
202
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
200
203
|
|
@@ -21,6 +21,8 @@ module PulpFileClient
|
|
21
21
|
# An optional content-guard.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
24
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
27
|
attr_accessor :name
|
26
28
|
|
@@ -32,6 +34,7 @@ module PulpFileClient
|
|
32
34
|
{
|
33
35
|
:'base_path' => :'base_path',
|
34
36
|
:'content_guard' => :'content_guard',
|
37
|
+
:'pulp_labels' => :'pulp_labels',
|
35
38
|
:'name' => :'name',
|
36
39
|
:'publication' => :'publication'
|
37
40
|
}
|
@@ -42,6 +45,7 @@ module PulpFileClient
|
|
42
45
|
{
|
43
46
|
:'base_path' => :'String',
|
44
47
|
:'content_guard' => :'String',
|
48
|
+
:'pulp_labels' => :'Object',
|
45
49
|
:'name' => :'String',
|
46
50
|
:'publication' => :'String'
|
47
51
|
}
|
@@ -78,6 +82,10 @@ module PulpFileClient
|
|
78
82
|
self.content_guard = attributes[:'content_guard']
|
79
83
|
end
|
80
84
|
|
85
|
+
if attributes.key?(:'pulp_labels')
|
86
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
87
|
+
end
|
88
|
+
|
81
89
|
if attributes.key?(:'name')
|
82
90
|
self.name = attributes[:'name']
|
83
91
|
end
|
@@ -117,6 +125,7 @@ module PulpFileClient
|
|
117
125
|
self.class == o.class &&
|
118
126
|
base_path == o.base_path &&
|
119
127
|
content_guard == o.content_guard &&
|
128
|
+
pulp_labels == o.pulp_labels &&
|
120
129
|
name == o.name &&
|
121
130
|
publication == o.publication
|
122
131
|
end
|
@@ -130,7 +139,7 @@ module PulpFileClient
|
|
130
139
|
# Calculates hash code according to all attributes.
|
131
140
|
# @return [Integer] Hash code
|
132
141
|
def hash
|
133
|
-
[base_path, content_guard, name, publication].hash
|
142
|
+
[base_path, content_guard, pulp_labels, name, publication].hash
|
134
143
|
end
|
135
144
|
|
136
145
|
# Builds the object from hash
|
@@ -29,6 +29,8 @@ module PulpFileClient
|
|
29
29
|
# An optional content-guard.
|
30
30
|
attr_accessor :content_guard
|
31
31
|
|
32
|
+
attr_accessor :pulp_labels
|
33
|
+
|
32
34
|
# A unique name. Ex, `rawhide` and `stable`.
|
33
35
|
attr_accessor :name
|
34
36
|
|
@@ -43,6 +45,7 @@ module PulpFileClient
|
|
43
45
|
:'base_path' => :'base_path',
|
44
46
|
:'base_url' => :'base_url',
|
45
47
|
:'content_guard' => :'content_guard',
|
48
|
+
:'pulp_labels' => :'pulp_labels',
|
46
49
|
:'name' => :'name',
|
47
50
|
:'publication' => :'publication'
|
48
51
|
}
|
@@ -56,6 +59,7 @@ module PulpFileClient
|
|
56
59
|
:'base_path' => :'String',
|
57
60
|
:'base_url' => :'String',
|
58
61
|
:'content_guard' => :'String',
|
62
|
+
:'pulp_labels' => :'Object',
|
59
63
|
:'name' => :'String',
|
60
64
|
:'publication' => :'String'
|
61
65
|
}
|
@@ -104,6 +108,10 @@ module PulpFileClient
|
|
104
108
|
self.content_guard = attributes[:'content_guard']
|
105
109
|
end
|
106
110
|
|
111
|
+
if attributes.key?(:'pulp_labels')
|
112
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
113
|
+
end
|
114
|
+
|
107
115
|
if attributes.key?(:'name')
|
108
116
|
self.name = attributes[:'name']
|
109
117
|
end
|
@@ -146,6 +154,7 @@ module PulpFileClient
|
|
146
154
|
base_path == o.base_path &&
|
147
155
|
base_url == o.base_url &&
|
148
156
|
content_guard == o.content_guard &&
|
157
|
+
pulp_labels == o.pulp_labels &&
|
149
158
|
name == o.name &&
|
150
159
|
publication == o.publication
|
151
160
|
end
|
@@ -159,7 +168,7 @@ module PulpFileClient
|
|
159
168
|
# Calculates hash code according to all attributes.
|
160
169
|
# @return [Integer] Hash code
|
161
170
|
def hash
|
162
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, name, publication].hash
|
171
|
+
[pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, publication].hash
|
163
172
|
end
|
164
173
|
|
165
174
|
# Builds the object from hash
|