pulp_gem_client 0.7.6 → 0.8.1
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 +11 -6
- data/docs/ContentGemApi.md +13 -3
- data/docs/RemoteNetworkConfig.md +50 -0
- data/docs/RemoteNetworkConfigResponse.md +40 -0
- data/docs/RepositorySyncURL.md +1 -1
- data/lib/pulp_gem_client/api/content_gem_api.rb +22 -3
- data/lib/pulp_gem_client/models/nested_role.rb +1 -1
- data/lib/pulp_gem_client/models/nested_role_response.rb +1 -1
- data/lib/pulp_gem_client/models/remote_network_config.rb +588 -0
- data/lib/pulp_gem_client/models/remote_network_config_response.rb +413 -0
- data/lib/pulp_gem_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_gem_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_gem_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_gem_client/version.rb +1 -1
- data/lib/pulp_gem_client.rb +2 -0
- data/spec/api/content_gem_api_spec.rb +6 -1
- data/spec/models/remote_network_config_response_spec.rb +102 -0
- data/spec/models/remote_network_config_spec.rb +132 -0
- metadata +39 -34
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d1a07c75d9555694c627e2a6bb18ef6e97189a4441f999853cf79abf15842f3
|
|
4
|
+
data.tar.gz: c316feaef3a28aa883505957667fb659af6fb5d84a61c65cd9fd8f0e6d9d23f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecd5dc8877f7b444e06c12d6f1e025b4855d31fd0a9c6f3c82e4fe359035051f5efeb4e1caaed0c5e8156c04b6a140bacd275cabb93a83ba0153eb172201b00c
|
|
7
|
+
data.tar.gz: 34e6bcaef9853342b545cbd80f35126fac791c7554d12371f4a4e4bc48378f905204d50ff4121ccfd9d11105aa2ca0f9e147fdbedaba4d2c668bb05a12e8e980
|
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: 0.
|
|
10
|
+
- Package version: 0.8.1
|
|
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_gem_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_gem_client-0.
|
|
28
|
+
gem install ./pulp_gem_client-0.8.1.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_gem_client-0.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_gem_client-0.8.1.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_gem_client', '~> 0.
|
|
37
|
+
gem 'pulp_gem_client', '~> 0.8.1'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -73,8 +73,11 @@ opts = {
|
|
|
73
73
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
74
74
|
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
75
75
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
77
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
78
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
79
|
+
downloader_config: PulpGemClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
80
|
+
artifact: 'artifact_example' # String | Artifact file representing the physical content
|
|
78
81
|
}
|
|
79
82
|
|
|
80
83
|
begin
|
|
@@ -178,6 +181,8 @@ Class | Method | HTTP request | Description
|
|
|
178
181
|
- [PulpGemClient::PatchedgemGemRemote](docs/PatchedgemGemRemote.md)
|
|
179
182
|
- [PulpGemClient::PatchedgemGemRepository](docs/PatchedgemGemRepository.md)
|
|
180
183
|
- [PulpGemClient::PolicyEnum](docs/PolicyEnum.md)
|
|
184
|
+
- [PulpGemClient::RemoteNetworkConfig](docs/RemoteNetworkConfig.md)
|
|
185
|
+
- [PulpGemClient::RemoteNetworkConfigResponse](docs/RemoteNetworkConfigResponse.md)
|
|
181
186
|
- [PulpGemClient::Repair](docs/Repair.md)
|
|
182
187
|
- [PulpGemClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
183
188
|
- [PulpGemClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
data/docs/ContentGemApi.md
CHANGED
|
@@ -37,8 +37,11 @@ opts = {
|
|
|
37
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
38
|
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
39
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
41
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
42
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
43
|
+
downloader_config: PulpGemClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
44
|
+
artifact: 'artifact_example' # String | Artifact file representing the physical content
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
begin
|
|
@@ -76,8 +79,11 @@ end
|
|
|
76
79
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
77
80
|
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
78
81
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
82
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
83
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
84
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
85
|
+
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
79
86
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
80
|
-
| **file** | **File** | An uploaded file that should be turned into the artifact of the content unit. | [optional] |
|
|
81
87
|
|
|
82
88
|
### Return type
|
|
83
89
|
|
|
@@ -116,6 +122,7 @@ end
|
|
|
116
122
|
api_instance = PulpGemClient::ContentGemApi.new
|
|
117
123
|
opts = {
|
|
118
124
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
125
|
+
added_between: ['inner_example'], # Array<String> |
|
|
119
126
|
checksum: 'checksum_example', # String | Filter results where checksum matches value
|
|
120
127
|
limit: 56, # Integer | Number of results to return per page.
|
|
121
128
|
name: 'name_example', # String | Filter results where name matches value
|
|
@@ -128,6 +135,7 @@ opts = {
|
|
|
128
135
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
129
136
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
130
137
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
138
|
+
removed_between: ['inner_example'], # Array<String> |
|
|
131
139
|
repository_version: 'repository_version_example', # String |
|
|
132
140
|
repository_version_added: 'repository_version_added_example', # String |
|
|
133
141
|
repository_version_removed: 'repository_version_removed_example', # String |
|
|
@@ -168,6 +176,7 @@ end
|
|
|
168
176
|
| Name | Type | Description | Notes |
|
|
169
177
|
| ---- | ---- | ----------- | ----- |
|
|
170
178
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
179
|
+
| **added_between** | [**Array<String>**](String.md) | | [optional] |
|
|
171
180
|
| **checksum** | **String** | Filter results where checksum matches value | [optional] |
|
|
172
181
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
173
182
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
@@ -180,6 +189,7 @@ end
|
|
|
180
189
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
181
190
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
182
191
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
192
|
+
| **removed_between** | [**Array<String>**](String.md) | | [optional] |
|
|
183
193
|
| **repository_version** | **String** | | [optional] |
|
|
184
194
|
| **repository_version_added** | **String** | | [optional] |
|
|
185
195
|
| **repository_version_removed** | **String** | | [optional] |
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# PulpGemClient::RemoteNetworkConfig
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
8
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
9
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
10
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
11
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
12
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
13
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
14
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
15
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
17
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
18
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
19
|
+
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
20
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
21
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
22
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
23
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```ruby
|
|
28
|
+
require 'pulp_gem_client'
|
|
29
|
+
|
|
30
|
+
instance = PulpGemClient::RemoteNetworkConfig.new(
|
|
31
|
+
ca_cert: null,
|
|
32
|
+
client_cert: null,
|
|
33
|
+
client_key: null,
|
|
34
|
+
tls_validation: null,
|
|
35
|
+
proxy_url: null,
|
|
36
|
+
proxy_username: null,
|
|
37
|
+
proxy_password: null,
|
|
38
|
+
username: null,
|
|
39
|
+
password: null,
|
|
40
|
+
max_retries: null,
|
|
41
|
+
total_timeout: null,
|
|
42
|
+
connect_timeout: null,
|
|
43
|
+
sock_connect_timeout: null,
|
|
44
|
+
sock_read_timeout: null,
|
|
45
|
+
headers: null,
|
|
46
|
+
download_concurrency: null,
|
|
47
|
+
rate_limit: null
|
|
48
|
+
)
|
|
49
|
+
```
|
|
50
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# PulpGemClient::RemoteNetworkConfigResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
8
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
9
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
10
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
11
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
12
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
13
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
14
|
+
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
15
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
16
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
17
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
18
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
require 'pulp_gem_client'
|
|
24
|
+
|
|
25
|
+
instance = PulpGemClient::RemoteNetworkConfigResponse.new(
|
|
26
|
+
ca_cert: null,
|
|
27
|
+
client_cert: null,
|
|
28
|
+
tls_validation: null,
|
|
29
|
+
proxy_url: null,
|
|
30
|
+
max_retries: null,
|
|
31
|
+
total_timeout: null,
|
|
32
|
+
connect_timeout: null,
|
|
33
|
+
sock_connect_timeout: null,
|
|
34
|
+
sock_read_timeout: null,
|
|
35
|
+
headers: null,
|
|
36
|
+
download_concurrency: null,
|
|
37
|
+
rate_limit: null
|
|
38
|
+
)
|
|
39
|
+
```
|
|
40
|
+
|
data/docs/RepositorySyncURL.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional] |
|
|
8
|
-
| **mirror** | **Boolean** | If `
|
|
8
|
+
| **mirror** | **Boolean** | If `True`, synchronization will remove all content that is not present in the remote repository. If `False`, sync will be additive only. | [optional][default to false] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -26,8 +26,11 @@ module PulpGemClient
|
|
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
27
|
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
28
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
29
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
30
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
31
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
32
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
29
33
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
30
|
-
# @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
|
|
31
34
|
# @return [AsyncOperationResponse]
|
|
32
35
|
def create(opts = {})
|
|
33
36
|
data, _status_code, _headers = create_with_http_info(opts)
|
|
@@ -41,13 +44,20 @@ module PulpGemClient
|
|
|
41
44
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
42
45
|
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
43
46
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
47
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
48
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
49
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
50
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
44
51
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
45
|
-
# @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
|
|
46
52
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
47
53
|
def create_with_http_info(opts = {})
|
|
48
54
|
if @api_client.config.debugging
|
|
49
55
|
@api_client.config.logger.debug 'Calling API: ContentGemApi.create ...'
|
|
50
56
|
end
|
|
57
|
+
if @api_client.config.client_side_validation && !opts[:'file_url'].nil? && opts[:'file_url'].to_s.length < 1
|
|
58
|
+
fail ArgumentError, 'invalid value for "opts[:"file_url"]" when calling ContentGemApi.create, the character length must be great than or equal to 1.'
|
|
59
|
+
end
|
|
60
|
+
|
|
51
61
|
# resource path
|
|
52
62
|
local_var_path = '/pulp/api/v3/content/gem/gem/'
|
|
53
63
|
|
|
@@ -70,8 +80,11 @@ module PulpGemClient
|
|
|
70
80
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
71
81
|
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
72
82
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
73
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
74
83
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
84
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
85
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
86
|
+
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
87
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
75
88
|
|
|
76
89
|
# http body (model)
|
|
77
90
|
post_body = opts[:debug_body]
|
|
@@ -103,6 +116,7 @@ module PulpGemClient
|
|
|
103
116
|
# A ViewSet for GemContent.
|
|
104
117
|
# @param [Hash] opts the optional parameters
|
|
105
118
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
119
|
+
# @option opts [Array<String>] :added_between
|
|
106
120
|
# @option opts [String] :checksum Filter results where checksum matches value
|
|
107
121
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
108
122
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -115,6 +129,7 @@ module PulpGemClient
|
|
|
115
129
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
116
130
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
117
131
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
132
|
+
# @option opts [Array<String>] :removed_between
|
|
118
133
|
# @option opts [String] :repository_version
|
|
119
134
|
# @option opts [String] :repository_version_added
|
|
120
135
|
# @option opts [String] :repository_version_removed
|
|
@@ -131,6 +146,7 @@ module PulpGemClient
|
|
|
131
146
|
# A ViewSet for GemContent.
|
|
132
147
|
# @param [Hash] opts the optional parameters
|
|
133
148
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
149
|
+
# @option opts [Array<String>] :added_between
|
|
134
150
|
# @option opts [String] :checksum Filter results where checksum matches value
|
|
135
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
136
152
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -143,6 +159,7 @@ module PulpGemClient
|
|
|
143
159
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
144
160
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
145
161
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
162
|
+
# @option opts [Array<String>] :removed_between
|
|
146
163
|
# @option opts [String] :repository_version
|
|
147
164
|
# @option opts [String] :repository_version_added
|
|
148
165
|
# @option opts [String] :repository_version_removed
|
|
@@ -163,6 +180,7 @@ module PulpGemClient
|
|
|
163
180
|
|
|
164
181
|
# query parameters
|
|
165
182
|
query_params = opts[:query_params] || {}
|
|
183
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
166
184
|
query_params[:'checksum'] = opts[:'checksum'] if !opts[:'checksum'].nil?
|
|
167
185
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
168
186
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
@@ -175,6 +193,7 @@ module PulpGemClient
|
|
|
175
193
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
176
194
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
177
195
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
196
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
178
197
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
179
198
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
180
199
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpGemClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRole
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpGemClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRoleResponse
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|