pulp_maven_client 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ebe8636fd7e0dac61d2b70b47da83a2790a6cd12e3721e554226908b8679ba9
4
- data.tar.gz: 80d203c6f017eb08bd98edd13ffe827db1f44844fe6e53fb3234794085daf825
3
+ metadata.gz: 971ca09509cd76f7b39897d29751eec843f7fffbe880714aef7fdc5e0b748f2b
4
+ data.tar.gz: 92183cfbef8395d5b0dce39628ec502af1d5b6af460ebcaf10ca53ab6724e51f
5
5
  SHA512:
6
- metadata.gz: 35f32d399eea63f8d68aad44abb19db3cd955c194c347c6d7ab02ce3f6143b7bca5ba351547280aee64041122d3e6d7bda86a01683feebe4588299d455eed339
7
- data.tar.gz: 27f4635f95fb3279f0fd46d4b04900201e83f1f0c70acde426f7364fdb30fcbdff24f82c11ca5443241738e78c55b296c1a5ded9d587b5fd5254d1c8a367ae69
6
+ metadata.gz: 2c5278e35ba29f0ea7274b1d9ae28563e1f491209d221c90aa100cbfbabf48158f0e071192101f683038d5b37c261e95f05553240d2cf971b10df308923b1b92
7
+ data.tar.gz: e4c849f2ec9f91f530f8146379dd4962f91ff5391a6ffe520efff42a32f84b00b51117bc36d15831befe0bee8f50837918c14a15ba4bff83b269b88bf22701e6
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.4.0
10
+ - Package version: 0.6.0
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_maven_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_maven_client-0.4.0.gem
27
+ gem install ./pulp_maven_client-0.6.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_maven_client-0.4.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_maven_client-0.6.0.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_maven_client', '~> 0.4.0'
36
+ gem 'pulp_maven_client', '~> 0.6.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -100,6 +100,7 @@ Class | Method | HTTP request | Description
100
100
  *PulpMavenClient::RemotesMavenApi* | [**partial_update**](docs/RemotesMavenApi.md#partial_update) | **PATCH** {maven_maven_remote_href} | Update a maven remote
101
101
  *PulpMavenClient::RemotesMavenApi* | [**read**](docs/RemotesMavenApi.md#read) | **GET** {maven_maven_remote_href} | Inspect a maven remote
102
102
  *PulpMavenClient::RemotesMavenApi* | [**update**](docs/RemotesMavenApi.md#update) | **PUT** {maven_maven_remote_href} | Update a maven remote
103
+ *PulpMavenClient::RepositoriesMavenApi* | [**add_cached_content**](docs/RepositoriesMavenApi.md#add_cached_content) | **POST** {maven_maven_repository_href}add_cached_content/ | Add cached content
103
104
  *PulpMavenClient::RepositoriesMavenApi* | [**create**](docs/RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository
104
105
  *PulpMavenClient::RepositoriesMavenApi* | [**delete**](docs/RepositoriesMavenApi.md#delete) | **DELETE** {maven_maven_repository_href} | Delete a maven repository
105
106
  *PulpMavenClient::RepositoriesMavenApi* | [**list**](docs/RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys
@@ -135,6 +136,7 @@ Class | Method | HTTP request | Description
135
136
  - [PulpMavenClient::PatchedmavenMavenRepository](docs/PatchedmavenMavenRepository.md)
136
137
  - [PulpMavenClient::PolicyEnum](docs/PolicyEnum.md)
137
138
  - [PulpMavenClient::Repair](docs/Repair.md)
139
+ - [PulpMavenClient::RepositoryAddCachedContent](docs/RepositoryAddCachedContent.md)
138
140
  - [PulpMavenClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
139
141
 
140
142
 
@@ -90,7 +90,9 @@ opts = {
90
90
  group_id: 'group_id_example', # String | Filter results where group_id matches value
91
91
  limit: 56, # Integer | Number of results to return per page.
92
92
  offset: 56, # Integer | The initial index from which to return the results.
93
- ordering: ['ordering_example'], # Array<String> | Ordering
93
+ ordering: ['ordering_example'], # 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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending)
94
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
95
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
94
96
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
95
97
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
96
98
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
@@ -118,7 +120,9 @@ Name | Type | Description | Notes
118
120
  **group_id** | **String**| Filter results where group_id matches value | [optional]
119
121
  **limit** | **Integer**| Number of results to return per page. | [optional]
120
122
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
121
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
123
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;group_id&#x60; - Group id * &#x60;-group_id&#x60; - Group id (descending) * &#x60;artifact_id&#x60; - Artifact id * &#x60;-artifact_id&#x60; - Artifact id (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
124
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
125
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
122
126
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
123
127
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
124
128
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
@@ -152,7 +152,9 @@ opts = {
152
152
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
153
153
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
154
154
  offset: 56, # Integer | The initial index from which to return the results.
155
- ordering: ['ordering_example'], # Array<String> | Ordering
155
+ ordering: ['ordering_example'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
156
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
157
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
156
158
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
157
159
  repository: 'repository_example', # String | Filter results where repository matches value
158
160
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
@@ -186,7 +188,9 @@ Name | Type | Description | Notes
186
188
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
187
189
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
188
190
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
189
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
191
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
192
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
193
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
190
194
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
191
195
  **repository** | **String**| Filter results where repository matches value | [optional]
192
196
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
18
18
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
20
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
- **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
21
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * &#x60;immediate&#x60; - immediate * &#x60;When syncing, download all metadata and content now.&#x60; - When syncing, download all metadata and content now. | [optional]
22
22
  **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]
23
23
  **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]
24
24
  **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]
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
16
16
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
17
17
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
18
18
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
19
- **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
19
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * &#x60;immediate&#x60; - immediate * &#x60;When syncing, download all metadata and content now.&#x60; - When syncing, download all metadata and content now. | [optional]
20
20
  **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]
21
21
  **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]
22
22
  **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]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
18
18
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
20
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
- **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
21
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * &#x60;immediate&#x60; - immediate * &#x60;When syncing, download all metadata and content now.&#x60; - When syncing, download all metadata and content now. | [optional]
22
22
  **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]
23
23
  **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]
24
24
  **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]
@@ -148,7 +148,9 @@ opts = {
148
148
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
149
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
150
  offset: 56, # Integer | The initial index from which to return the results.
151
- ordering: ['ordering_example'], # Array<String> | Ordering
151
+ ordering: ['ordering_example'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
152
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
153
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
152
154
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
153
155
  pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
154
156
  pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
@@ -181,7 +183,9 @@ Name | Type | Description | Notes
181
183
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
182
184
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
183
185
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
184
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
186
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
187
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
188
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
185
189
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
186
190
  **pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
187
191
  **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
@@ -4,6 +4,7 @@ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_cached_content**](RepositoriesMavenApi.md#add_cached_content) | **POST** {maven_maven_repository_href}add_cached_content/ | Add cached content
7
8
  [**create**](RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository
8
9
  [**delete**](RepositoriesMavenApi.md#delete) | **DELETE** {maven_maven_repository_href} | Delete a maven repository
9
10
  [**list**](RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys
@@ -13,6 +14,61 @@ Method | HTTP request | Description
13
14
 
14
15
 
15
16
 
17
+ ## add_cached_content
18
+
19
+ > AsyncOperationResponse add_cached_content(maven_maven_repository_href, repository_add_cached_content)
20
+
21
+ Add cached content
22
+
23
+ Trigger an asynchronous task to add cached content to a repository.
24
+
25
+ ### Example
26
+
27
+ ```ruby
28
+ # load the gem
29
+ require 'pulp_maven_client'
30
+ # setup authorization
31
+ PulpMavenClient.configure do |config|
32
+ # Configure HTTP basic authorization: basicAuth
33
+ config.username = 'YOUR USERNAME'
34
+ config.password = 'YOUR PASSWORD'
35
+ end
36
+
37
+ api_instance = PulpMavenClient::RepositoriesMavenApi.new
38
+ maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
39
+ repository_add_cached_content = PulpMavenClient::RepositoryAddCachedContent.new # RepositoryAddCachedContent |
40
+
41
+ begin
42
+ #Add cached content
43
+ result = api_instance.add_cached_content(maven_maven_repository_href, repository_add_cached_content)
44
+ p result
45
+ rescue PulpMavenClient::ApiError => e
46
+ puts "Exception when calling RepositoriesMavenApi->add_cached_content: #{e}"
47
+ end
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+
53
+ Name | Type | Description | Notes
54
+ ------------- | ------------- | ------------- | -------------
55
+ **maven_maven_repository_href** | **String**| |
56
+ **repository_add_cached_content** | [**RepositoryAddCachedContent**](RepositoryAddCachedContent.md)| |
57
+
58
+ ### Return type
59
+
60
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
61
+
62
+ ### Authorization
63
+
64
+ [basicAuth](../README.md#basicAuth)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
69
+ - **Accept**: application/json
70
+
71
+
16
72
  ## create
17
73
 
18
74
  > MavenMavenRepositoryResponse create(maven_maven_repository)
@@ -141,6 +197,7 @@ end
141
197
 
142
198
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
143
199
  opts = {
200
+ latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
144
201
  limit: 56, # Integer | Number of results to return per page.
145
202
  name: 'name_example', # String | Filter results where name matches value
146
203
  name__contains: 'name__contains_example', # String | Filter results where name contains value
@@ -148,7 +205,9 @@ opts = {
148
205
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
206
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
207
  offset: 56, # Integer | The initial index from which to return the results.
151
- ordering: ['ordering_example'], # Array<String> | Ordering
208
+ ordering: ['ordering_example'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
209
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
210
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
152
211
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
153
212
  remote: 'remote_example', # String | Foreign Key referenced by HREF
154
213
  retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
@@ -159,6 +218,7 @@ opts = {
159
218
  retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
160
219
  retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
161
220
  retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
221
+ with_content: 'with_content_example', # String | Content Unit referenced by HREF
162
222
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
163
223
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
164
224
  }
@@ -177,6 +237,7 @@ end
177
237
 
178
238
  Name | Type | Description | Notes
179
239
  ------------- | ------------- | ------------- | -------------
240
+ **latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
180
241
  **limit** | **Integer**| Number of results to return per page. | [optional]
181
242
  **name** | **String**| Filter results where name matches value | [optional]
182
243
  **name__contains** | **String**| Filter results where name contains value | [optional]
@@ -184,7 +245,9 @@ Name | Type | Description | Notes
184
245
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
185
246
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
186
247
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
187
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
248
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
249
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
250
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
188
251
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
189
252
  **remote** | **String**| Foreign Key referenced by HREF | [optional]
190
253
  **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
@@ -195,6 +258,7 @@ Name | Type | Description | Notes
195
258
  **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
196
259
  **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
197
260
  **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
261
+ **with_content** | **String**| Content Unit referenced by HREF | [optional]
198
262
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
199
263
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
200
264
 
@@ -97,13 +97,14 @@ opts = {
97
97
  number__lte: 56, # Integer | Filter results where number is less than or equal to value
98
98
  number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
99
99
  offset: 56, # Integer | The initial index from which to return the results.
100
- ordering: ['ordering_example'], # Array<String> | Ordering
100
+ ordering: ['ordering_example'], # 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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
101
101
  pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
102
102
  pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
103
103
  pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
104
104
  pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
105
105
  pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
106
106
  pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
107
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
107
108
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
108
109
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
109
110
  }
@@ -133,13 +134,14 @@ Name | Type | Description | Notes
133
134
  **number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
134
135
  **number__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where number is between two comma separated values | [optional]
135
136
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
136
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
137
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
137
138
  **pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
138
139
  **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
139
140
  **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
140
141
  **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
141
142
  **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
142
143
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
144
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
143
145
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
144
146
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
145
147
 
@@ -0,0 +1,17 @@
1
+ # PulpMavenClient::RepositoryAddCachedContent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **remote** | **String** | A remote to use to identify content that was cached. This will override a remote set on repository. | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpMavenClient'
13
+
14
+ instance = PulpMavenClient::RepositoryAddCachedContent.new(remote: null)
15
+ ```
16
+
17
+
@@ -91,7 +91,9 @@ module PulpMavenClient
91
91
  # @option opts [String] :group_id Filter results where group_id matches value
92
92
  # @option opts [Integer] :limit Number of results to return per page.
93
93
  # @option opts [Integer] :offset The initial index from which to return the results.
94
- # @option opts [Array<String>] :ordering Ordering
94
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;group_id&#x60; - Group id * &#x60;-group_id&#x60; - Group id (descending) * &#x60;artifact_id&#x60; - Artifact id * &#x60;-artifact_id&#x60; - Artifact id (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
95
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
96
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
95
97
  # @option opts [String] :repository_version Repository Version referenced by HREF
96
98
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
97
99
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -112,7 +114,9 @@ module PulpMavenClient
112
114
  # @option opts [String] :group_id Filter results where group_id matches value
113
115
  # @option opts [Integer] :limit Number of results to return per page.
114
116
  # @option opts [Integer] :offset The initial index from which to return the results.
115
- # @option opts [Array<String>] :ordering Ordering
117
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;group_id&#x60; - Group id * &#x60;-group_id&#x60; - Group id (descending) * &#x60;artifact_id&#x60; - Artifact id * &#x60;-artifact_id&#x60; - Artifact id (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
118
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
119
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
116
120
  # @option opts [String] :repository_version Repository Version referenced by HREF
117
121
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
118
122
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -139,6 +143,8 @@ module PulpMavenClient
139
143
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
140
144
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
141
145
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
146
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
147
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
142
148
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
143
149
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
144
150
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -159,7 +159,9 @@ module PulpMavenClient
159
159
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
160
160
  # @option opts [String] :name__startswith Filter results where name starts with value
161
161
  # @option opts [Integer] :offset The initial index from which to return the results.
162
- # @option opts [Array<String>] :ordering Ordering
162
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
163
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
164
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
163
165
  # @option opts [String] :pulp_label_select Filter labels by search string
164
166
  # @option opts [String] :repository Filter results where repository matches value
165
167
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
@@ -186,7 +188,9 @@ module PulpMavenClient
186
188
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
187
189
  # @option opts [String] :name__startswith Filter results where name starts with value
188
190
  # @option opts [Integer] :offset The initial index from which to return the results.
189
- # @option opts [Array<String>] :ordering Ordering
191
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
192
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
193
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
190
194
  # @option opts [String] :pulp_label_select Filter labels by search string
191
195
  # @option opts [String] :repository Filter results where repository matches value
192
196
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
@@ -219,6 +223,8 @@ module PulpMavenClient
219
223
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
220
224
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
221
225
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
226
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
227
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
222
228
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
223
229
  query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
224
230
  query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
@@ -155,7 +155,9 @@ module PulpMavenClient
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
156
156
  # @option opts [String] :name__startswith Filter results where name starts with value
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [Array<String>] :ordering Ordering
158
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
159
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
160
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
159
161
  # @option opts [String] :pulp_label_select Filter labels by search string
160
162
  # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
161
163
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
@@ -181,7 +183,9 @@ module PulpMavenClient
181
183
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
182
184
  # @option opts [String] :name__startswith Filter results where name starts with value
183
185
  # @option opts [Integer] :offset The initial index from which to return the results.
184
- # @option opts [Array<String>] :ordering Ordering
186
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
187
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
188
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
185
189
  # @option opts [String] :pulp_label_select Filter labels by search string
186
190
  # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
187
191
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
@@ -213,6 +217,8 @@ module PulpMavenClient
213
217
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
214
218
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
215
219
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
220
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
221
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
216
222
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
217
223
  query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
218
224
  query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
@@ -19,6 +19,76 @@ module PulpMavenClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Add cached content
23
+ # Trigger an asynchronous task to add cached content to a repository.
24
+ # @param maven_maven_repository_href [String]
25
+ # @param repository_add_cached_content [RepositoryAddCachedContent]
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [AsyncOperationResponse]
28
+ def add_cached_content(maven_maven_repository_href, repository_add_cached_content, opts = {})
29
+ data, _status_code, _headers = add_cached_content_with_http_info(maven_maven_repository_href, repository_add_cached_content, opts)
30
+ data
31
+ end
32
+
33
+ # Add cached content
34
+ # Trigger an asynchronous task to add cached content to a repository.
35
+ # @param maven_maven_repository_href [String]
36
+ # @param repository_add_cached_content [RepositoryAddCachedContent]
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
39
+ def add_cached_content_with_http_info(maven_maven_repository_href, repository_add_cached_content, opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.add_cached_content ...'
42
+ end
43
+ # verify the required parameter 'maven_maven_repository_href' is set
44
+ if @api_client.config.client_side_validation && maven_maven_repository_href.nil?
45
+ fail ArgumentError, "Missing the required parameter 'maven_maven_repository_href' when calling RepositoriesMavenApi.add_cached_content"
46
+ end
47
+ # verify the required parameter 'repository_add_cached_content' is set
48
+ if @api_client.config.client_side_validation && repository_add_cached_content.nil?
49
+ fail ArgumentError, "Missing the required parameter 'repository_add_cached_content' when calling RepositoriesMavenApi.add_cached_content"
50
+ end
51
+ # resource path
52
+ local_var_path = '{maven_maven_repository_href}add_cached_content/'.sub('{' + 'maven_maven_repository_href' + '}', CGI.escape(maven_maven_repository_href.to_s).gsub('%2F', '/'))
53
+
54
+ # query parameters
55
+ query_params = opts[:query_params] || {}
56
+
57
+ # header parameters
58
+ header_params = opts[:header_params] || {}
59
+ # HTTP header 'Accept' (if needed)
60
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
61
+ # HTTP header 'Content-Type'
62
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
63
+
64
+ # form parameters
65
+ form_params = opts[:form_params] || {}
66
+
67
+ # http body (model)
68
+ post_body = opts[:body] || @api_client.object_to_http_body(repository_add_cached_content)
69
+
70
+ # return_type
71
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
72
+
73
+ # auth_names
74
+ auth_names = opts[:auth_names] || ['basicAuth']
75
+
76
+ new_options = opts.merge(
77
+ :header_params => header_params,
78
+ :query_params => query_params,
79
+ :form_params => form_params,
80
+ :body => post_body,
81
+ :auth_names => auth_names,
82
+ :return_type => return_type
83
+ )
84
+
85
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
86
+ if @api_client.config.debugging
87
+ @api_client.config.logger.debug "API called: RepositoriesMavenApi#add_cached_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+
22
92
  # Create a maven repository
23
93
  # A ViewSet for MavenRemote.
24
94
  # @param maven_maven_repository [MavenMavenRepository]
@@ -148,6 +218,7 @@ module PulpMavenClient
148
218
  # List maven repositorys
149
219
  # A ViewSet for MavenRemote.
150
220
  # @param [Hash] opts the optional parameters
221
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
151
222
  # @option opts [Integer] :limit Number of results to return per page.
152
223
  # @option opts [String] :name Filter results where name matches value
153
224
  # @option opts [String] :name__contains Filter results where name contains value
@@ -155,7 +226,9 @@ module PulpMavenClient
155
226
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
156
227
  # @option opts [String] :name__startswith Filter results where name starts with value
157
228
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [Array<String>] :ordering Ordering
229
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
230
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
231
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
159
232
  # @option opts [String] :pulp_label_select Filter labels by search string
160
233
  # @option opts [String] :remote Foreign Key referenced by HREF
161
234
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
@@ -166,6 +239,7 @@ module PulpMavenClient
166
239
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
167
240
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
168
241
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
242
+ # @option opts [String] :with_content Content Unit referenced by HREF
169
243
  # @option opts [Array<String>] :fields A list of fields to include in the response.
170
244
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
171
245
  # @return [PaginatedmavenMavenRepositoryResponseList]
@@ -177,6 +251,7 @@ module PulpMavenClient
177
251
  # List maven repositorys
178
252
  # A ViewSet for MavenRemote.
179
253
  # @param [Hash] opts the optional parameters
254
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
180
255
  # @option opts [Integer] :limit Number of results to return per page.
181
256
  # @option opts [String] :name Filter results where name matches value
182
257
  # @option opts [String] :name__contains Filter results where name contains value
@@ -184,7 +259,9 @@ module PulpMavenClient
184
259
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
185
260
  # @option opts [String] :name__startswith Filter results where name starts with value
186
261
  # @option opts [Integer] :offset The initial index from which to return the results.
187
- # @option opts [Array<String>] :ordering Ordering
262
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
263
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
264
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
188
265
  # @option opts [String] :pulp_label_select Filter labels by search string
189
266
  # @option opts [String] :remote Foreign Key referenced by HREF
190
267
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
@@ -195,6 +272,7 @@ module PulpMavenClient
195
272
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
196
273
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
197
274
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
275
+ # @option opts [String] :with_content Content Unit referenced by HREF
198
276
  # @option opts [Array<String>] :fields A list of fields to include in the response.
199
277
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
200
278
  # @return [Array<(PaginatedmavenMavenRepositoryResponseList, Integer, Hash)>] PaginatedmavenMavenRepositoryResponseList data, response status code and response headers
@@ -211,6 +289,7 @@ module PulpMavenClient
211
289
 
212
290
  # query parameters
213
291
  query_params = opts[:query_params] || {}
292
+ query_params[:'latest_with_content'] = opts[:'latest_with_content'] if !opts[:'latest_with_content'].nil?
214
293
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
215
294
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
216
295
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
@@ -219,6 +298,8 @@ module PulpMavenClient
219
298
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
220
299
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
221
300
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
301
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
302
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
222
303
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
223
304
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
224
305
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
@@ -229,6 +310,7 @@ module PulpMavenClient
229
310
  query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
230
311
  query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
231
312
  query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
313
+ query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
232
314
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
233
315
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
234
316
 
@@ -95,13 +95,14 @@ module PulpMavenClient
95
95
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
96
96
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
- # @option opts [Array<String>] :ordering Ordering
98
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
99
99
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
100
100
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
101
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
102
102
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
105
106
  # @option opts [Array<String>] :fields A list of fields to include in the response.
106
107
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
107
108
  # @return [PaginatedRepositoryVersionResponseList]
@@ -124,13 +125,14 @@ module PulpMavenClient
124
125
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
125
126
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
126
127
  # @option opts [Integer] :offset The initial index from which to return the results.
127
- # @option opts [Array<String>] :ordering Ordering
128
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
128
129
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
129
130
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
130
131
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
131
132
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
132
133
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
133
134
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
135
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
134
136
  # @option opts [Array<String>] :fields A list of fields to include in the response.
135
137
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
136
138
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -168,6 +170,7 @@ module PulpMavenClient
168
170
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
169
171
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
170
172
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
173
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
171
174
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
172
175
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
173
176
 
@@ -56,7 +56,7 @@ module PulpMavenClient
56
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
57
  attr_accessor :max_retries
58
58
 
59
- # The policy to use when downloading content.
59
+ # The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now.
60
60
  attr_accessor :policy
61
61
 
62
62
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -49,7 +49,7 @@ module PulpMavenClient
49
49
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
50
50
  attr_accessor :max_retries
51
51
 
52
- # The policy to use when downloading content.
52
+ # The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now.
53
53
  attr_accessor :policy
54
54
 
55
55
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -56,7 +56,7 @@ module PulpMavenClient
56
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
57
  attr_accessor :max_retries
58
58
 
59
- # The policy to use when downloading content.
59
+ # The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now.
60
60
  attr_accessor :policy
61
61
 
62
62
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -0,0 +1,208 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module PulpMavenClient
16
+ # A mixin for validating unknown serializers' fields.
17
+ class RepositoryAddCachedContent
18
+ # A remote to use to identify content that was cached. This will override a remote set on repository.
19
+ attr_accessor :remote
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'remote' => :'remote'
25
+ }
26
+ end
27
+
28
+ # Attribute type mapping.
29
+ def self.openapi_types
30
+ {
31
+ :'remote' => :'String'
32
+ }
33
+ end
34
+
35
+ # List of attributes with nullable: true
36
+ def self.openapi_nullable
37
+ Set.new([
38
+ ])
39
+ end
40
+
41
+ # Initializes the object
42
+ # @param [Hash] attributes Model attributes in the form of hash
43
+ def initialize(attributes = {})
44
+ if (!attributes.is_a?(Hash))
45
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpMavenClient::RepositoryAddCachedContent` initialize method"
46
+ end
47
+
48
+ # check to see if the attribute exists and convert string to symbol for hash key
49
+ attributes = attributes.each_with_object({}) { |(k, v), h|
50
+ if (!self.class.attribute_map.key?(k.to_sym))
51
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpMavenClient::RepositoryAddCachedContent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
52
+ end
53
+ h[k.to_sym] = v
54
+ }
55
+
56
+ if attributes.key?(:'remote')
57
+ self.remote = attributes[:'remote']
58
+ end
59
+ end
60
+
61
+ # Show invalid properties with the reasons. Usually used together with valid?
62
+ # @return Array for valid properties with the reasons
63
+ def list_invalid_properties
64
+ invalid_properties = Array.new
65
+ invalid_properties
66
+ end
67
+
68
+ # Check to see if the all the properties in the model are valid
69
+ # @return true if the model is valid
70
+ def valid?
71
+ true
72
+ end
73
+
74
+ # Checks equality by comparing each attribute.
75
+ # @param [Object] Object to be compared
76
+ def ==(o)
77
+ return true if self.equal?(o)
78
+ self.class == o.class &&
79
+ remote == o.remote
80
+ end
81
+
82
+ # @see the `==` method
83
+ # @param [Object] Object to be compared
84
+ def eql?(o)
85
+ self == o
86
+ end
87
+
88
+ # Calculates hash code according to all attributes.
89
+ # @return [Integer] Hash code
90
+ def hash
91
+ [remote].hash
92
+ end
93
+
94
+ # Builds the object from hash
95
+ # @param [Hash] attributes Model attributes in the form of hash
96
+ # @return [Object] Returns the model itself
97
+ def self.build_from_hash(attributes)
98
+ new.build_from_hash(attributes)
99
+ end
100
+
101
+ # Builds the object from hash
102
+ # @param [Hash] attributes Model attributes in the form of hash
103
+ # @return [Object] Returns the model itself
104
+ def build_from_hash(attributes)
105
+ return nil unless attributes.is_a?(Hash)
106
+ self.class.openapi_types.each_pair do |key, type|
107
+ if type =~ /\AArray<(.*)>/i
108
+ # check to ensure the input is an array given that the attribute
109
+ # is documented as an array but the input is not
110
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
111
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
112
+ end
113
+ elsif !attributes[self.class.attribute_map[key]].nil?
114
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
115
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
116
+ end
117
+
118
+ self
119
+ end
120
+
121
+ # Deserializes the data based on type
122
+ # @param string type Data type
123
+ # @param string value Value to be deserialized
124
+ # @return [Object] Deserialized data
125
+ def _deserialize(type, value)
126
+ case type.to_sym
127
+ when :DateTime
128
+ DateTime.parse(value)
129
+ when :Date
130
+ Date.parse(value)
131
+ when :String
132
+ value.to_s
133
+ when :Integer
134
+ value.to_i
135
+ when :Float
136
+ value.to_f
137
+ when :Boolean
138
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
139
+ true
140
+ else
141
+ false
142
+ end
143
+ when :Object
144
+ # generic object (usually a Hash), return directly
145
+ value
146
+ when /\AArray<(?<inner_type>.+)>\z/
147
+ inner_type = Regexp.last_match[:inner_type]
148
+ value.map { |v| _deserialize(inner_type, v) }
149
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
150
+ k_type = Regexp.last_match[:k_type]
151
+ v_type = Regexp.last_match[:v_type]
152
+ {}.tap do |hash|
153
+ value.each do |k, v|
154
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
155
+ end
156
+ end
157
+ else # model
158
+ PulpMavenClient.const_get(type).build_from_hash(value)
159
+ end
160
+ end
161
+
162
+ # Returns the string representation of the object
163
+ # @return [String] String presentation of the object
164
+ def to_s
165
+ to_hash.to_s
166
+ end
167
+
168
+ # to_body is an alias to to_hash (backward compatibility)
169
+ # @return [Hash] Returns the object in the form of hash
170
+ def to_body
171
+ to_hash
172
+ end
173
+
174
+ # Returns the object in the form of hash
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_hash
177
+ hash = {}
178
+ self.class.attribute_map.each_pair do |attr, param|
179
+ value = self.send(attr)
180
+ if value.nil?
181
+ is_nullable = self.class.openapi_nullable.include?(attr)
182
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
183
+ end
184
+
185
+ hash[param] = _to_hash(value)
186
+ end
187
+ hash
188
+ end
189
+
190
+ # Outputs non-array value in the form of hash
191
+ # For object, use to_hash. Otherwise, just return the value
192
+ # @param [Object] value Any valid value
193
+ # @return [Hash] Returns the value in the form of hash
194
+ def _to_hash(value)
195
+ if value.is_a?(Array)
196
+ value.compact.map { |v| _to_hash(v) }
197
+ elsif value.is_a?(Hash)
198
+ {}.tap do |hash|
199
+ value.each { |k, v| hash[k] = _to_hash(v) }
200
+ end
201
+ elsif value.respond_to? :to_hash
202
+ value.to_hash
203
+ else
204
+ value
205
+ end
206
+ end
207
+ end
208
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.4.0'
14
+ VERSION = '0.6.0'
15
15
  end
@@ -38,6 +38,7 @@ require 'pulp_maven_client/models/patchedmaven_maven_remote'
38
38
  require 'pulp_maven_client/models/patchedmaven_maven_repository'
39
39
  require 'pulp_maven_client/models/policy_enum'
40
40
  require 'pulp_maven_client/models/repair'
41
+ require 'pulp_maven_client/models/repository_add_cached_content'
41
42
  require 'pulp_maven_client/models/repository_version_response'
42
43
 
43
44
  # APIs
@@ -53,7 +53,9 @@ describe 'ContentArtifactApi' do
53
53
  # @option opts [String] :group_id Filter results where group_id matches value
54
54
  # @option opts [Integer] :limit Number of results to return per page.
55
55
  # @option opts [Integer] :offset The initial index from which to return the results.
56
- # @option opts [Array<String>] :ordering Ordering
56
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;group_id&#x60; - Group id * &#x60;-group_id&#x60; - Group id (descending) * &#x60;artifact_id&#x60; - Artifact id * &#x60;-artifact_id&#x60; - Artifact id (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
57
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
58
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
57
59
  # @option opts [String] :repository_version Repository Version referenced by HREF
58
60
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
59
61
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -71,7 +71,9 @@ describe 'DistributionsMavenApi' do
71
71
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
72
72
  # @option opts [String] :name__startswith Filter results where name starts with value
73
73
  # @option opts [Integer] :offset The initial index from which to return the results.
74
- # @option opts [Array<String>] :ordering Ordering
74
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
75
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
76
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
75
77
  # @option opts [String] :pulp_label_select Filter labels by search string
76
78
  # @option opts [String] :repository Filter results where repository matches value
77
79
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
@@ -67,7 +67,9 @@ describe 'RemotesMavenApi' do
67
67
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
68
  # @option opts [String] :name__startswith Filter results where name starts with value
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @option opts [Array<String>] :ordering Ordering
70
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
71
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
72
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
71
73
  # @option opts [String] :pulp_label_select Filter labels by search string
72
74
  # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
73
75
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
@@ -32,6 +32,19 @@ describe 'RepositoriesMavenApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_cached_content
36
+ # Add cached content
37
+ # Trigger an asynchronous task to add cached content to a repository.
38
+ # @param maven_maven_repository_href
39
+ # @param repository_add_cached_content
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [AsyncOperationResponse]
42
+ describe 'add_cached_content test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a maven repository
37
50
  # A ViewSet for MavenRemote.
@@ -60,6 +73,7 @@ describe 'RepositoriesMavenApi' do
60
73
  # List maven repositorys
61
74
  # A ViewSet for MavenRemote.
62
75
  # @param [Hash] opts the optional parameters
76
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
63
77
  # @option opts [Integer] :limit Number of results to return per page.
64
78
  # @option opts [String] :name Filter results where name matches value
65
79
  # @option opts [String] :name__contains Filter results where name contains value
@@ -67,7 +81,9 @@ describe 'RepositoriesMavenApi' do
67
81
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
82
  # @option opts [String] :name__startswith Filter results where name starts with value
69
83
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @option opts [Array<String>] :ordering Ordering
84
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
85
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
86
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
71
87
  # @option opts [String] :pulp_label_select Filter labels by search string
72
88
  # @option opts [String] :remote Foreign Key referenced by HREF
73
89
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
@@ -78,6 +94,7 @@ describe 'RepositoriesMavenApi' do
78
94
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
79
95
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
80
96
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
97
+ # @option opts [String] :with_content Content Unit referenced by HREF
81
98
  # @option opts [Array<String>] :fields A list of fields to include in the response.
82
99
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
83
100
  # @return [PaginatedmavenMavenRepositoryResponseList]
@@ -59,13 +59,14 @@ describe 'RepositoriesMavenVersionsApi' do
59
59
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
60
60
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
61
61
  # @option opts [Integer] :offset The initial index from which to return the results.
62
- # @option opts [Array<String>] :ordering Ordering
62
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
63
63
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
64
64
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
65
65
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
66
66
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
67
67
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
68
68
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
69
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
69
70
  # @option opts [Array<String>] :fields A list of fields to include in the response.
70
71
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
71
72
  # @return [PaginatedRepositoryVersionResponseList]
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpMavenClient::RepositoryAddCachedContent
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'RepositoryAddCachedContent' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpMavenClient::RepositoryAddCachedContent.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RepositoryAddCachedContent' do
31
+ it 'should create an instance of RepositoryAddCachedContent' do
32
+ expect(@instance).to be_instance_of(PulpMavenClient::RepositoryAddCachedContent)
33
+ end
34
+ end
35
+ describe 'test attribute "remote"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_maven_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-15 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -107,6 +107,7 @@ files:
107
107
  - docs/Repair.md
108
108
  - docs/RepositoriesMavenApi.md
109
109
  - docs/RepositoriesMavenVersionsApi.md
110
+ - docs/RepositoryAddCachedContent.md
110
111
  - docs/RepositoryVersionResponse.md
111
112
  - lib/pulp_maven_client.rb
112
113
  - lib/pulp_maven_client/api/content_artifact_api.rb
@@ -139,6 +140,7 @@ files:
139
140
  - lib/pulp_maven_client/models/patchedmaven_maven_repository.rb
140
141
  - lib/pulp_maven_client/models/policy_enum.rb
141
142
  - lib/pulp_maven_client/models/repair.rb
143
+ - lib/pulp_maven_client/models/repository_add_cached_content.rb
142
144
  - lib/pulp_maven_client/models/repository_version_response.rb
143
145
  - lib/pulp_maven_client/version.rb
144
146
  - pulp_maven_client.gemspec
@@ -171,6 +173,7 @@ files:
171
173
  - spec/models/patchedmaven_maven_repository_spec.rb
172
174
  - spec/models/policy_enum_spec.rb
173
175
  - spec/models/repair_spec.rb
176
+ - spec/models/repository_add_cached_content_spec.rb
174
177
  - spec/models/repository_version_response_spec.rb
175
178
  - spec/spec_helper.rb
176
179
  homepage: https://github.com/pulp/pulp_maven
@@ -197,34 +200,35 @@ signing_key:
197
200
  specification_version: 4
198
201
  summary: Pulp 3 API Ruby Gem
199
202
  test_files:
200
- - spec/api/remotes_maven_api_spec.rb
201
203
  - spec/api/repositories_maven_versions_api_spec.rb
204
+ - spec/api/remotes_maven_api_spec.rb
205
+ - spec/api/distributions_maven_api_spec.rb
202
206
  - spec/api/content_artifact_api_spec.rb
203
207
  - spec/api/pulp_maven_api_spec.rb
204
208
  - spec/api/repositories_maven_api_spec.rb
205
- - spec/api/distributions_maven_api_spec.rb
206
209
  - spec/api_client_spec.rb
207
210
  - spec/configuration_spec.rb
211
+ - spec/models/maven_maven_artifact_response_spec.rb
212
+ - spec/models/maven_maven_distribution_spec.rb
213
+ - spec/models/content_summary_response_spec.rb
214
+ - spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
215
+ - spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
216
+ - spec/models/maven_maven_repository_response_spec.rb
208
217
  - spec/models/patchedmaven_maven_distribution_spec.rb
218
+ - spec/models/maven_maven_distribution_response_spec.rb
209
219
  - spec/models/maven_maven_remote_spec.rb
210
220
  - spec/models/patchedmaven_maven_remote_spec.rb
221
+ - spec/models/repair_spec.rb
222
+ - spec/models/maven_maven_artifact_spec.rb
223
+ - spec/models/policy_enum_spec.rb
224
+ - spec/models/paginatedmaven_maven_repository_response_list_spec.rb
225
+ - spec/models/repository_add_cached_content_spec.rb
211
226
  - spec/models/maven_maven_repository_spec.rb
212
- - spec/models/maven_maven_remote_response_hidden_fields_spec.rb
213
- - spec/models/maven_maven_remote_response_spec.rb
214
- - spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
215
- - spec/models/maven_maven_artifact_response_spec.rb
216
227
  - spec/models/paginatedmaven_maven_remote_response_list_spec.rb
217
- - spec/models/repair_spec.rb
228
+ - spec/models/paginated_repository_version_response_list_spec.rb
229
+ - spec/models/async_operation_response_spec.rb
230
+ - spec/models/maven_maven_remote_response_hidden_fields_spec.rb
218
231
  - spec/models/repository_version_response_spec.rb
219
232
  - spec/models/patchedmaven_maven_repository_spec.rb
220
- - spec/models/maven_maven_distribution_spec.rb
221
- - spec/models/paginatedmaven_maven_repository_response_list_spec.rb
222
- - spec/models/policy_enum_spec.rb
223
- - spec/models/maven_maven_repository_response_spec.rb
224
- - spec/models/maven_maven_distribution_response_spec.rb
225
- - spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
226
- - spec/models/maven_maven_artifact_spec.rb
227
- - spec/models/async_operation_response_spec.rb
228
- - spec/models/paginated_repository_version_response_list_spec.rb
229
- - spec/models/content_summary_response_spec.rb
233
+ - spec/models/maven_maven_remote_response_spec.rb
230
234
  - spec/spec_helper.rb