pulp_maven_client 0.8.3 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/ContentArtifactApi.md +150 -2
  4. data/docs/DistributionsMavenApi.md +4 -2
  5. data/docs/MavenMavenArtifact.md +2 -0
  6. data/docs/MavenMavenArtifactResponse.md +2 -0
  7. data/docs/MavenMavenRemoteResponse.md +1 -1
  8. data/lib/pulp_maven_client/api/content_artifact_api.rb +154 -3
  9. data/lib/pulp_maven_client/api/distributions_maven_api.rb +6 -3
  10. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +13 -1
  11. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +13 -1
  12. data/lib/pulp_maven_client/models/maven_maven_remote.rb +15 -0
  13. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +15 -0
  14. data/lib/pulp_maven_client/models/maven_maven_repository.rb +15 -0
  15. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +15 -0
  16. data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +2 -0
  17. data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +2 -0
  18. data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +2 -0
  19. data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +2 -0
  20. data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +2 -0
  21. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +15 -0
  22. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +15 -0
  23. data/lib/pulp_maven_client/models/unset_label.rb +1 -1
  24. data/lib/pulp_maven_client/models/unset_label_response.rb +1 -1
  25. data/lib/pulp_maven_client/version.rb +1 -1
  26. data/spec/api/content_artifact_api_spec.rb +28 -1
  27. data/spec/api/distributions_maven_api_spec.rb +2 -1
  28. data/spec/models/maven_maven_artifact_response_spec.rb +6 -0
  29. data/spec/models/maven_maven_artifact_spec.rb +6 -0
  30. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bba4422c7d45be1a9fe2f178e8a5a73f70e68d780da250369f533aa2c9d916df
4
- data.tar.gz: e779556f4d6cfac4ff81b7f8c6d1215c6180185f90113bee0719a43a41723824
3
+ metadata.gz: 5b5b60183884dd2a7ceb653b849c31fca10ebf7492fa6ffaec673a54da63fa6f
4
+ data.tar.gz: 3aea0933630a436b9f5203300376bcb2e50431664ae045d1228d701da8331910
5
5
  SHA512:
6
- metadata.gz: e5a2d480cb8f04e57d3749d66bdbab32471d8c8794e038a2172c39c83aaf350c50ec7766de1a4a611c77d3a3cf53b33edcdb1cec21998387e7a62e7bbc1cbc46
7
- data.tar.gz: f4054adfcca341bf97427278ab40b3897e6437504da27621c30e484e605bc80ee98f0db7c8241c7eccfa69ae3d7ebb596a1920598ddb4257f54b59bffbe601a9
6
+ metadata.gz: 76e78957283bfe12eea371a490ef3972fced7b4536e43e96e3255dbd72572685a7b32bbed64eaaf5691d1ec25a875435500dd474f0277b2c76628dc642e91a30
7
+ data.tar.gz: f7bdf7e61cde013065dd20c1770ee9f8994a7dc169391e477feb830cdd86ed887efbcc0892360c5c43c87aead4630a9e2d92ddfe2cd456787a0a9ed3c30cf4c5
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.8.3
10
+ - Package version: 0.10.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_maven_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_maven_client-0.8.3.gem
28
+ gem install ./pulp_maven_client-0.10.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_maven_client-0.8.3.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_maven_client-0.10.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_maven_client', '~> 0.8.3'
37
+ gem 'pulp_maven_client', '~> 0.10.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -89,6 +89,8 @@ Class | Method | HTTP request | Description
89
89
  *PulpMavenClient::ContentArtifactApi* | [**create**](docs/ContentArtifactApi.md#create) | **POST** /pulp/api/v3/content/maven/artifact/ | Create a maven artifact
90
90
  *PulpMavenClient::ContentArtifactApi* | [**list**](docs/ContentArtifactApi.md#list) | **GET** /pulp/api/v3/content/maven/artifact/ | List maven artifacts
91
91
  *PulpMavenClient::ContentArtifactApi* | [**read**](docs/ContentArtifactApi.md#read) | **GET** {maven_maven_artifact_href} | Inspect a maven artifact
92
+ *PulpMavenClient::ContentArtifactApi* | [**set_label**](docs/ContentArtifactApi.md#set_label) | **POST** {maven_maven_artifact_href}set_label/ | Set a label
93
+ *PulpMavenClient::ContentArtifactApi* | [**unset_label**](docs/ContentArtifactApi.md#unset_label) | **POST** {maven_maven_artifact_href}unset_label/ | Unset a label
92
94
  *PulpMavenClient::DistributionsMavenApi* | [**create**](docs/DistributionsMavenApi.md#create) | **POST** /pulp/api/v3/distributions/maven/maven/ | Create a maven distribution
93
95
  *PulpMavenClient::DistributionsMavenApi* | [**delete**](docs/DistributionsMavenApi.md#delete) | **DELETE** {maven_maven_distribution_href} | Delete a maven distribution
94
96
  *PulpMavenClient::DistributionsMavenApi* | [**list**](docs/DistributionsMavenApi.md#list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentArtifactApi.md#create) | **POST** /pulp/api/v3/content/maven/artifact/ | Create a maven artifact |
8
8
  | [**list**](ContentArtifactApi.md#list) | **GET** /pulp/api/v3/content/maven/artifact/ | List maven artifacts |
9
9
  | [**read**](ContentArtifactApi.md#read) | **GET** {maven_maven_artifact_href} | Inspect a maven artifact |
10
+ | [**set_label**](ContentArtifactApi.md#set_label) | **POST** {maven_maven_artifact_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentArtifactApi.md#unset_label) | **POST** {maven_maven_artifact_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
@@ -106,11 +108,12 @@ opts = {
106
108
  group_id: 'group_id_example', # String | Filter results where group_id matches value
107
109
  limit: 56, # Integer | Number of results to return per page.
108
110
  offset: 56, # Integer | The initial index from which to return the results.
109
- ordering: ['-artifact_id'], # 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)
111
+ ordering: ['-artifact_id'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `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)
110
112
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
111
113
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
112
114
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
113
115
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
116
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
114
117
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
115
118
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
116
119
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
@@ -156,11 +159,12 @@ end
156
159
  | **group_id** | **String** | Filter results where group_id matches value | [optional] |
157
160
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
158
161
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
159
- | **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] |
162
+ | **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;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (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] |
160
163
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
161
164
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
162
165
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
163
166
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
167
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
164
168
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
165
169
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
166
170
  | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -258,3 +262,147 @@ end
258
262
  - **Content-Type**: Not defined
259
263
  - **Accept**: application/json
260
264
 
265
+
266
+ ## set_label
267
+
268
+ > <SetLabelResponse> set_label(maven_maven_artifact_href, set_label)
269
+
270
+ Set a label
271
+
272
+ Set a single pulp_label on the object to a specific value or null.
273
+
274
+ ### Examples
275
+
276
+ ```ruby
277
+ require 'time'
278
+ require 'pulp_maven_client'
279
+ # setup authorization
280
+ PulpMavenClient.configure do |config|
281
+ # Configure HTTP basic authorization: basicAuth
282
+ config.username = 'YOUR USERNAME'
283
+ config.password = 'YOUR PASSWORD'
284
+ end
285
+
286
+ api_instance = PulpMavenClient::ContentArtifactApi.new
287
+ maven_maven_artifact_href = 'maven_maven_artifact_href_example' # String |
288
+ set_label = PulpMavenClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
289
+
290
+ begin
291
+ # Set a label
292
+ result = api_instance.set_label(maven_maven_artifact_href, set_label)
293
+ p result
294
+ rescue PulpMavenClient::ApiError => e
295
+ puts "Error when calling ContentArtifactApi->set_label: #{e}"
296
+ end
297
+ ```
298
+
299
+ #### Using the set_label_with_http_info variant
300
+
301
+ This returns an Array which contains the response data, status code and headers.
302
+
303
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_artifact_href, set_label)
304
+
305
+ ```ruby
306
+ begin
307
+ # Set a label
308
+ data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_artifact_href, set_label)
309
+ p status_code # => 2xx
310
+ p headers # => { ... }
311
+ p data # => <SetLabelResponse>
312
+ rescue PulpMavenClient::ApiError => e
313
+ puts "Error when calling ContentArtifactApi->set_label_with_http_info: #{e}"
314
+ end
315
+ ```
316
+
317
+ ### Parameters
318
+
319
+ | Name | Type | Description | Notes |
320
+ | ---- | ---- | ----------- | ----- |
321
+ | **maven_maven_artifact_href** | **String** | | |
322
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
323
+
324
+ ### Return type
325
+
326
+ [**SetLabelResponse**](SetLabelResponse.md)
327
+
328
+ ### Authorization
329
+
330
+ [basicAuth](../README.md#basicAuth)
331
+
332
+ ### HTTP request headers
333
+
334
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
335
+ - **Accept**: application/json
336
+
337
+
338
+ ## unset_label
339
+
340
+ > <UnsetLabelResponse> unset_label(maven_maven_artifact_href, unset_label)
341
+
342
+ Unset a label
343
+
344
+ Unset a single pulp_label on the object.
345
+
346
+ ### Examples
347
+
348
+ ```ruby
349
+ require 'time'
350
+ require 'pulp_maven_client'
351
+ # setup authorization
352
+ PulpMavenClient.configure do |config|
353
+ # Configure HTTP basic authorization: basicAuth
354
+ config.username = 'YOUR USERNAME'
355
+ config.password = 'YOUR PASSWORD'
356
+ end
357
+
358
+ api_instance = PulpMavenClient::ContentArtifactApi.new
359
+ maven_maven_artifact_href = 'maven_maven_artifact_href_example' # String |
360
+ unset_label = PulpMavenClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
361
+
362
+ begin
363
+ # Unset a label
364
+ result = api_instance.unset_label(maven_maven_artifact_href, unset_label)
365
+ p result
366
+ rescue PulpMavenClient::ApiError => e
367
+ puts "Error when calling ContentArtifactApi->unset_label: #{e}"
368
+ end
369
+ ```
370
+
371
+ #### Using the unset_label_with_http_info variant
372
+
373
+ This returns an Array which contains the response data, status code and headers.
374
+
375
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_artifact_href, unset_label)
376
+
377
+ ```ruby
378
+ begin
379
+ # Unset a label
380
+ data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_artifact_href, unset_label)
381
+ p status_code # => 2xx
382
+ p headers # => { ... }
383
+ p data # => <UnsetLabelResponse>
384
+ rescue PulpMavenClient::ApiError => e
385
+ puts "Error when calling ContentArtifactApi->unset_label_with_http_info: #{e}"
386
+ end
387
+ ```
388
+
389
+ ### Parameters
390
+
391
+ | Name | Type | Description | Notes |
392
+ | ---- | ---- | ----------- | ----- |
393
+ | **maven_maven_artifact_href** | **String** | | |
394
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
395
+
396
+ ### Return type
397
+
398
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
399
+
400
+ ### Authorization
401
+
402
+ [basicAuth](../README.md#basicAuth)
403
+
404
+ ### HTTP request headers
405
+
406
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
407
+ - **Accept**: application/json
408
+
@@ -180,6 +180,7 @@ opts = {
180
180
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
181
181
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
182
182
  base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
183
+ checkpoint: true, # Boolean | Filter results where checkpoint matches value
183
184
  limit: 56, # Integer | Number of results to return per page.
184
185
  name: 'name_example', # String | Filter results where name matches value
185
186
  name__contains: 'name__contains_example', # String | Filter results where name contains value
@@ -191,7 +192,7 @@ opts = {
191
192
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
192
193
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
193
194
  offset: 56, # Integer | The initial index from which to return the results.
194
- ordering: ['-base_path'], # 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) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
195
+ ordering: ['-base_path'], # 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) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
195
196
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
196
197
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
197
198
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
@@ -239,6 +240,7 @@ end
239
240
  | **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
240
241
  | **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
241
242
  | **base_path__in** | [**Array&lt;String&gt;**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
243
+ | **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
242
244
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
243
245
  | **name** | **String** | Filter results where name matches value | [optional] |
244
246
  | **name__contains** | **String** | Filter results where name contains value | [optional] |
@@ -250,7 +252,7 @@ end
250
252
  | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
251
253
  | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
252
254
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
253
- | **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;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
255
+ | **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;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
254
256
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
255
257
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
256
258
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
8
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
8
9
  | **artifact** | **String** | Artifact file representing the physical content | |
9
10
  | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
10
11
 
@@ -15,6 +16,7 @@ require 'pulp_maven_client'
15
16
 
16
17
  instance = PulpMavenClient::MavenMavenArtifact.new(
17
18
  repository: null,
19
+ pulp_labels: null,
18
20
  artifact: null,
19
21
  relative_path: null
20
22
  )
@@ -8,6 +8,7 @@
8
8
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
10
  | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
12
  | **artifact** | **String** | Artifact file representing the physical content | |
12
13
  | **group_id** | **String** | Group Id of the artifact&#39;s package. | [optional][readonly] |
13
14
  | **artifact_id** | **String** | Artifact Id of the artifact&#39;s package. | [optional][readonly] |
@@ -24,6 +25,7 @@ instance = PulpMavenClient::MavenMavenArtifactResponse.new(
24
25
  prn: null,
25
26
  pulp_created: null,
26
27
  pulp_last_updated: null,
28
+ pulp_labels: null,
27
29
  artifact: null,
28
30
  group_id: null,
29
31
  artifact_id: null,
@@ -24,7 +24,7 @@
24
24
  | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
25
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
26
26
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
27
- | **hidden_fields** | [**Array&lt;MavenMavenRemoteResponseHiddenFieldsInner&gt;**](MavenMavenRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
27
+ | **hidden_fields** | [**Array&lt;MavenMavenRemoteResponseHiddenFieldsInner&gt;**](MavenMavenRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
28
28
 
29
29
  ## Example
30
30
 
@@ -95,11 +95,12 @@ module PulpMavenClient
95
95
  # @option opts [String] :group_id Filter results where group_id matches value
96
96
  # @option opts [Integer] :limit Number of results to return per page.
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
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;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)
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;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;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (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)
99
99
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
100
100
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
101
101
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
102
102
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
103
+ # @option opts [String] :pulp_label_select Filter labels by search string
103
104
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
104
105
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
105
106
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -121,11 +122,12 @@ module PulpMavenClient
121
122
  # @option opts [String] :group_id Filter results where group_id matches value
122
123
  # @option opts [Integer] :limit Number of results to return per page.
123
124
  # @option opts [Integer] :offset The initial index from which to return the results.
124
- # @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)
125
+ # @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;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (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)
125
126
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
126
127
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
127
128
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
128
129
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
130
+ # @option opts [String] :pulp_label_select Filter labels by search string
129
131
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
130
132
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
131
133
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -138,7 +140,7 @@ module PulpMavenClient
138
140
  if @api_client.config.debugging
139
141
  @api_client.config.logger.debug 'Calling API: ContentArtifactApi.list ...'
140
142
  end
141
- allowable_values = ["-artifact_id", "-filename", "-group_id", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-version", "artifact_id", "filename", "group_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "version"]
143
+ allowable_values = ["-artifact_id", "-filename", "-group_id", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-version", "artifact_id", "filename", "group_id", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "version"]
142
144
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
143
145
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
144
146
  end
@@ -157,6 +159,7 @@ module PulpMavenClient
157
159
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
158
160
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
159
161
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
162
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
160
163
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
161
164
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
162
165
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -267,5 +270,153 @@ module PulpMavenClient
267
270
  end
268
271
  return data, status_code, headers
269
272
  end
273
+
274
+ # Set a label
275
+ # Set a single pulp_label on the object to a specific value or null.
276
+ # @param maven_maven_artifact_href [String]
277
+ # @param set_label [SetLabel]
278
+ # @param [Hash] opts the optional parameters
279
+ # @return [SetLabelResponse]
280
+ def set_label(maven_maven_artifact_href, set_label, opts = {})
281
+ data, _status_code, _headers = set_label_with_http_info(maven_maven_artifact_href, set_label, opts)
282
+ data
283
+ end
284
+
285
+ # Set a label
286
+ # Set a single pulp_label on the object to a specific value or null.
287
+ # @param maven_maven_artifact_href [String]
288
+ # @param set_label [SetLabel]
289
+ # @param [Hash] opts the optional parameters
290
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
291
+ def set_label_with_http_info(maven_maven_artifact_href, set_label, opts = {})
292
+ if @api_client.config.debugging
293
+ @api_client.config.logger.debug 'Calling API: ContentArtifactApi.set_label ...'
294
+ end
295
+ # verify the required parameter 'maven_maven_artifact_href' is set
296
+ if @api_client.config.client_side_validation && maven_maven_artifact_href.nil?
297
+ fail ArgumentError, "Missing the required parameter 'maven_maven_artifact_href' when calling ContentArtifactApi.set_label"
298
+ end
299
+ # verify the required parameter 'set_label' is set
300
+ if @api_client.config.client_side_validation && set_label.nil?
301
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentArtifactApi.set_label"
302
+ end
303
+ # resource path
304
+ local_var_path = '{maven_maven_artifact_href}set_label/'.sub('{' + 'maven_maven_artifact_href' + '}', CGI.escape(maven_maven_artifact_href.to_s).gsub('%2F', '/'))
305
+
306
+ # query parameters
307
+ query_params = opts[:query_params] || {}
308
+
309
+ # header parameters
310
+ header_params = opts[:header_params] || {}
311
+ # HTTP header 'Accept' (if needed)
312
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
313
+ # HTTP header 'Content-Type'
314
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
315
+ if !content_type.nil?
316
+ header_params['Content-Type'] = content_type
317
+ end
318
+
319
+ # form parameters
320
+ form_params = opts[:form_params] || {}
321
+
322
+ # http body (model)
323
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
324
+
325
+ # return_type
326
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
327
+
328
+ # auth_names
329
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
330
+
331
+ new_options = opts.merge(
332
+ :operation => :"ContentArtifactApi.set_label",
333
+ :header_params => header_params,
334
+ :query_params => query_params,
335
+ :form_params => form_params,
336
+ :body => post_body,
337
+ :auth_names => auth_names,
338
+ :return_type => return_type
339
+ )
340
+
341
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
342
+ if @api_client.config.debugging
343
+ @api_client.config.logger.debug "API called: ContentArtifactApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
344
+ end
345
+ return data, status_code, headers
346
+ end
347
+
348
+ # Unset a label
349
+ # Unset a single pulp_label on the object.
350
+ # @param maven_maven_artifact_href [String]
351
+ # @param unset_label [UnsetLabel]
352
+ # @param [Hash] opts the optional parameters
353
+ # @return [UnsetLabelResponse]
354
+ def unset_label(maven_maven_artifact_href, unset_label, opts = {})
355
+ data, _status_code, _headers = unset_label_with_http_info(maven_maven_artifact_href, unset_label, opts)
356
+ data
357
+ end
358
+
359
+ # Unset a label
360
+ # Unset a single pulp_label on the object.
361
+ # @param maven_maven_artifact_href [String]
362
+ # @param unset_label [UnsetLabel]
363
+ # @param [Hash] opts the optional parameters
364
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
365
+ def unset_label_with_http_info(maven_maven_artifact_href, unset_label, opts = {})
366
+ if @api_client.config.debugging
367
+ @api_client.config.logger.debug 'Calling API: ContentArtifactApi.unset_label ...'
368
+ end
369
+ # verify the required parameter 'maven_maven_artifact_href' is set
370
+ if @api_client.config.client_side_validation && maven_maven_artifact_href.nil?
371
+ fail ArgumentError, "Missing the required parameter 'maven_maven_artifact_href' when calling ContentArtifactApi.unset_label"
372
+ end
373
+ # verify the required parameter 'unset_label' is set
374
+ if @api_client.config.client_side_validation && unset_label.nil?
375
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentArtifactApi.unset_label"
376
+ end
377
+ # resource path
378
+ local_var_path = '{maven_maven_artifact_href}unset_label/'.sub('{' + 'maven_maven_artifact_href' + '}', CGI.escape(maven_maven_artifact_href.to_s).gsub('%2F', '/'))
379
+
380
+ # query parameters
381
+ query_params = opts[:query_params] || {}
382
+
383
+ # header parameters
384
+ header_params = opts[:header_params] || {}
385
+ # HTTP header 'Accept' (if needed)
386
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
387
+ # HTTP header 'Content-Type'
388
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
389
+ if !content_type.nil?
390
+ header_params['Content-Type'] = content_type
391
+ end
392
+
393
+ # form parameters
394
+ form_params = opts[:form_params] || {}
395
+
396
+ # http body (model)
397
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
398
+
399
+ # return_type
400
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
401
+
402
+ # auth_names
403
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
404
+
405
+ new_options = opts.merge(
406
+ :operation => :"ContentArtifactApi.unset_label",
407
+ :header_params => header_params,
408
+ :query_params => query_params,
409
+ :form_params => form_params,
410
+ :body => post_body,
411
+ :auth_names => auth_names,
412
+ :return_type => return_type
413
+ )
414
+
415
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
416
+ if @api_client.config.debugging
417
+ @api_client.config.logger.debug "API called: ContentArtifactApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
418
+ end
419
+ return data, status_code, headers
420
+ end
270
421
  end
271
422
  end
@@ -157,6 +157,7 @@ module PulpMavenClient
157
157
  # @option opts [String] :base_path__contains Filter results where base_path contains value
158
158
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
159
159
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
160
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
160
161
  # @option opts [Integer] :limit Number of results to return per page.
161
162
  # @option opts [String] :name Filter results where name matches value
162
163
  # @option opts [String] :name__contains Filter results where name contains value
@@ -168,7 +169,7 @@ module PulpMavenClient
168
169
  # @option opts [String] :name__regex Filter results where name matches regex value
169
170
  # @option opts [String] :name__startswith Filter results where name starts with value
170
171
  # @option opts [Integer] :offset The initial index from which to return the results.
171
- # @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;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
172
+ # @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;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
172
173
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
173
174
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
174
175
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -192,6 +193,7 @@ module PulpMavenClient
192
193
  # @option opts [String] :base_path__contains Filter results where base_path contains value
193
194
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
194
195
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
196
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
195
197
  # @option opts [Integer] :limit Number of results to return per page.
196
198
  # @option opts [String] :name Filter results where name matches value
197
199
  # @option opts [String] :name__contains Filter results where name contains value
@@ -203,7 +205,7 @@ module PulpMavenClient
203
205
  # @option opts [String] :name__regex Filter results where name matches regex value
204
206
  # @option opts [String] :name__startswith Filter results where name starts with value
205
207
  # @option opts [Integer] :offset The initial index from which to return the results.
206
- # @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;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
208
+ # @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;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
207
209
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
208
210
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
209
211
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -219,7 +221,7 @@ module PulpMavenClient
219
221
  if @api_client.config.debugging
220
222
  @api_client.config.logger.debug 'Calling API: DistributionsMavenApi.list ...'
221
223
  end
222
- allowable_values = ["-base_path", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
224
+ allowable_values = ["-base_path", "-checkpoint", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "checkpoint", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
223
225
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
224
226
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
225
227
  end
@@ -232,6 +234,7 @@ module PulpMavenClient
232
234
  query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
233
235
  query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
234
236
  query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
237
+ query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
235
238
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
236
239
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
237
240
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
@@ -19,6 +19,9 @@ module PulpMavenClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
+ attr_accessor :pulp_labels
24
+
22
25
  # Artifact file representing the physical content
23
26
  attr_accessor :artifact
24
27
 
@@ -29,6 +32,7 @@ module PulpMavenClient
29
32
  def self.attribute_map
30
33
  {
31
34
  :'repository' => :'repository',
35
+ :'pulp_labels' => :'pulp_labels',
32
36
  :'artifact' => :'artifact',
33
37
  :'relative_path' => :'relative_path'
34
38
  }
@@ -43,6 +47,7 @@ module PulpMavenClient
43
47
  def self.openapi_types
44
48
  {
45
49
  :'repository' => :'String',
50
+ :'pulp_labels' => :'Hash<String, String>',
46
51
  :'artifact' => :'String',
47
52
  :'relative_path' => :'String'
48
53
  }
@@ -73,6 +78,12 @@ module PulpMavenClient
73
78
  self.repository = attributes[:'repository']
74
79
  end
75
80
 
81
+ if attributes.key?(:'pulp_labels')
82
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
83
+ self.pulp_labels = value
84
+ end
85
+ end
86
+
76
87
  if attributes.key?(:'artifact')
77
88
  self.artifact = attributes[:'artifact']
78
89
  else
@@ -136,6 +147,7 @@ module PulpMavenClient
136
147
  return true if self.equal?(o)
137
148
  self.class == o.class &&
138
149
  repository == o.repository &&
150
+ pulp_labels == o.pulp_labels &&
139
151
  artifact == o.artifact &&
140
152
  relative_path == o.relative_path
141
153
  end
@@ -149,7 +161,7 @@ module PulpMavenClient
149
161
  # Calculates hash code according to all attributes.
150
162
  # @return [Integer] Hash code
151
163
  def hash
152
- [repository, artifact, relative_path].hash
164
+ [repository, pulp_labels, artifact, relative_path].hash
153
165
  end
154
166
 
155
167
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpMavenClient
27
27
  # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # Artifact file representing the physical content
31
34
  attr_accessor :artifact
32
35
 
@@ -49,6 +52,7 @@ module PulpMavenClient
49
52
  :'prn' => :'prn',
50
53
  :'pulp_created' => :'pulp_created',
51
54
  :'pulp_last_updated' => :'pulp_last_updated',
55
+ :'pulp_labels' => :'pulp_labels',
52
56
  :'artifact' => :'artifact',
53
57
  :'group_id' => :'group_id',
54
58
  :'artifact_id' => :'artifact_id',
@@ -69,6 +73,7 @@ module PulpMavenClient
69
73
  :'prn' => :'String',
70
74
  :'pulp_created' => :'Time',
71
75
  :'pulp_last_updated' => :'Time',
76
+ :'pulp_labels' => :'Hash<String, String>',
72
77
  :'artifact' => :'String',
73
78
  :'group_id' => :'String',
74
79
  :'artifact_id' => :'String',
@@ -114,6 +119,12 @@ module PulpMavenClient
114
119
  self.pulp_last_updated = attributes[:'pulp_last_updated']
115
120
  end
116
121
 
122
+ if attributes.key?(:'pulp_labels')
123
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
124
+ self.pulp_labels = value
125
+ end
126
+ end
127
+
117
128
  if attributes.key?(:'artifact')
118
129
  self.artifact = attributes[:'artifact']
119
130
  else
@@ -166,6 +177,7 @@ module PulpMavenClient
166
177
  prn == o.prn &&
167
178
  pulp_created == o.pulp_created &&
168
179
  pulp_last_updated == o.pulp_last_updated &&
180
+ pulp_labels == o.pulp_labels &&
169
181
  artifact == o.artifact &&
170
182
  group_id == o.group_id &&
171
183
  artifact_id == o.artifact_id &&
@@ -182,7 +194,7 @@ module PulpMavenClient
182
194
  # Calculates hash code according to all attributes.
183
195
  # @return [Integer] Hash code
184
196
  def hash
185
- [pulp_href, prn, pulp_created, pulp_last_updated, artifact, group_id, artifact_id, version, filename].hash
197
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, group_id, artifact_id, version, filename].hash
186
198
  end
187
199
 
188
200
  # Builds the object from hash
@@ -341,6 +341,10 @@ module PulpMavenClient
341
341
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
342
342
  end
343
343
 
344
+ if !@download_concurrency.nil? && @download_concurrency < 1
345
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
346
+ end
347
+
344
348
  if !@total_timeout.nil? && @total_timeout < 0.0
345
349
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
346
350
  end
@@ -376,6 +380,7 @@ module PulpMavenClient
376
380
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
377
381
  return false if !@username.nil? && @username.to_s.length < 1
378
382
  return false if !@password.nil? && @password.to_s.length < 1
383
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
379
384
  return false if !@total_timeout.nil? && @total_timeout < 0.0
380
385
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
381
386
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -491,6 +496,16 @@ module PulpMavenClient
491
496
  @password = password
492
497
  end
493
498
 
499
+ # Custom attribute writer method with validation
500
+ # @param [Object] download_concurrency Value to be assigned
501
+ def download_concurrency=(download_concurrency)
502
+ if !download_concurrency.nil? && download_concurrency < 1
503
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
504
+ end
505
+
506
+ @download_concurrency = download_concurrency
507
+ end
508
+
494
509
  # Custom attribute writer method with validation
495
510
  # @param [Object] total_timeout Value to be assigned
496
511
  def total_timeout=(total_timeout)
@@ -297,6 +297,10 @@ module PulpMavenClient
297
297
  invalid_properties.push('invalid value for "url", url cannot be nil.')
298
298
  end
299
299
 
300
+ if !@download_concurrency.nil? && @download_concurrency < 1
301
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
302
+ end
303
+
300
304
  if !@total_timeout.nil? && @total_timeout < 0.0
301
305
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
302
306
  end
@@ -322,6 +326,7 @@ module PulpMavenClient
322
326
  warn '[DEPRECATED] the `valid?` method is obsolete'
323
327
  return false if @name.nil?
324
328
  return false if @url.nil?
329
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
325
330
  return false if !@total_timeout.nil? && @total_timeout < 0.0
326
331
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
327
332
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -329,6 +334,16 @@ module PulpMavenClient
329
334
  true
330
335
  end
331
336
 
337
+ # Custom attribute writer method with validation
338
+ # @param [Object] download_concurrency Value to be assigned
339
+ def download_concurrency=(download_concurrency)
340
+ if !download_concurrency.nil? && download_concurrency < 1
341
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
342
+ end
343
+
344
+ @download_concurrency = download_concurrency
345
+ end
346
+
332
347
  # Custom attribute writer method with validation
333
348
  # @param [Object] total_timeout Value to be assigned
334
349
  def total_timeout=(total_timeout)
@@ -123,6 +123,10 @@ module PulpMavenClient
123
123
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
124
124
  end
125
125
 
126
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
127
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
128
+ end
129
+
126
130
  invalid_properties
127
131
  end
128
132
 
@@ -133,6 +137,7 @@ module PulpMavenClient
133
137
  return false if @name.nil?
134
138
  return false if @name.to_s.length < 1
135
139
  return false if !@description.nil? && @description.to_s.length < 1
140
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
136
141
  true
137
142
  end
138
143
 
@@ -160,6 +165,16 @@ module PulpMavenClient
160
165
  @description = description
161
166
  end
162
167
 
168
+ # Custom attribute writer method with validation
169
+ # @param [Object] retain_repo_versions Value to be assigned
170
+ def retain_repo_versions=(retain_repo_versions)
171
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
172
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
173
+ end
174
+
175
+ @retain_repo_versions = retain_repo_versions
176
+ end
177
+
163
178
  # Checks equality by comparing each attribute.
164
179
  # @param [Object] Object to be compared
165
180
  def ==(o)
@@ -166,6 +166,10 @@ module PulpMavenClient
166
166
  invalid_properties.push('invalid value for "name", name cannot be nil.')
167
167
  end
168
168
 
169
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
170
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
171
+ end
172
+
169
173
  invalid_properties
170
174
  end
171
175
 
@@ -174,9 +178,20 @@ module PulpMavenClient
174
178
  def valid?
175
179
  warn '[DEPRECATED] the `valid?` method is obsolete'
176
180
  return false if @name.nil?
181
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
177
182
  true
178
183
  end
179
184
 
185
+ # Custom attribute writer method with validation
186
+ # @param [Object] retain_repo_versions Value to be assigned
187
+ def retain_repo_versions=(retain_repo_versions)
188
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
189
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
190
+ end
191
+
192
+ @retain_repo_versions = retain_repo_versions
193
+ end
194
+
180
195
  # Checks equality by comparing each attribute.
181
196
  # @param [Object] Object to be compared
182
197
  def ==(o)
@@ -51,6 +51,8 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -329,6 +329,10 @@ module PulpMavenClient
329
329
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
330
330
  end
331
331
 
332
+ if !@download_concurrency.nil? && @download_concurrency < 1
333
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
334
+ end
335
+
332
336
  if !@total_timeout.nil? && @total_timeout < 0.0
333
337
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
334
338
  end
@@ -362,6 +366,7 @@ module PulpMavenClient
362
366
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
363
367
  return false if !@username.nil? && @username.to_s.length < 1
364
368
  return false if !@password.nil? && @password.to_s.length < 1
369
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
365
370
  return false if !@total_timeout.nil? && @total_timeout < 0.0
366
371
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
367
372
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -477,6 +482,16 @@ module PulpMavenClient
477
482
  @password = password
478
483
  end
479
484
 
485
+ # Custom attribute writer method with validation
486
+ # @param [Object] download_concurrency Value to be assigned
487
+ def download_concurrency=(download_concurrency)
488
+ if !download_concurrency.nil? && download_concurrency < 1
489
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
490
+ end
491
+
492
+ @download_concurrency = download_concurrency
493
+ end
494
+
480
495
  # Custom attribute writer method with validation
481
496
  # @param [Object] total_timeout Value to be assigned
482
497
  def total_timeout=(total_timeout)
@@ -117,6 +117,10 @@ module PulpMavenClient
117
117
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
118
118
  end
119
119
 
120
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
121
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
122
+ end
123
+
120
124
  invalid_properties
121
125
  end
122
126
 
@@ -126,6 +130,7 @@ module PulpMavenClient
126
130
  warn '[DEPRECATED] the `valid?` method is obsolete'
127
131
  return false if !@name.nil? && @name.to_s.length < 1
128
132
  return false if !@description.nil? && @description.to_s.length < 1
133
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
129
134
  true
130
135
  end
131
136
 
@@ -153,6 +158,16 @@ module PulpMavenClient
153
158
  @description = description
154
159
  end
155
160
 
161
+ # Custom attribute writer method with validation
162
+ # @param [Object] retain_repo_versions Value to be assigned
163
+ def retain_repo_versions=(retain_repo_versions)
164
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
165
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
166
+ end
167
+
168
+ @retain_repo_versions = retain_repo_versions
169
+ end
170
+
156
171
  # Checks equality by comparing each attribute.
157
172
  # @param [Object] Object to be compared
158
173
  def ==(o)
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpMavenClient
17
- # Serializer for synchronously setting a label.
17
+ # Serializer for synchronously UNsetting a label.
18
18
  class UnsetLabel
19
19
  attr_accessor :key
20
20
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpMavenClient
17
- # Serializer for synchronously setting a label.
17
+ # Serializer for synchronously UNsetting a label.
18
18
  class UnsetLabelResponse
19
19
  attr_accessor :key
20
20
 
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.8.3'
14
+ VERSION = '0.10.0'
15
15
  end
@@ -53,11 +53,12 @@ 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 * &#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)
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;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (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
57
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
58
58
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
59
59
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
60
60
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
61
+ # @option opts [String] :pulp_label_select Filter labels by search string
61
62
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
62
63
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
63
64
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -86,4 +87,30 @@ describe 'ContentArtifactApi' do
86
87
  end
87
88
  end
88
89
 
90
+ # unit tests for set_label
91
+ # Set a label
92
+ # Set a single pulp_label on the object to a specific value or null.
93
+ # @param maven_maven_artifact_href
94
+ # @param set_label
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [SetLabelResponse]
97
+ describe 'set_label test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
100
+ end
101
+ end
102
+
103
+ # unit tests for unset_label
104
+ # Unset a label
105
+ # Unset a single pulp_label on the object.
106
+ # @param maven_maven_artifact_href
107
+ # @param unset_label
108
+ # @param [Hash] opts the optional parameters
109
+ # @return [UnsetLabelResponse]
110
+ describe 'unset_label test' do
111
+ it 'should work' do
112
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
113
+ end
114
+ end
115
+
89
116
  end
@@ -64,6 +64,7 @@ describe 'DistributionsMavenApi' do
64
64
  # @option opts [String] :base_path__contains Filter results where base_path contains value
65
65
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
66
66
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
67
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
67
68
  # @option opts [Integer] :limit Number of results to return per page.
68
69
  # @option opts [String] :name Filter results where name matches value
69
70
  # @option opts [String] :name__contains Filter results where name contains value
@@ -75,7 +76,7 @@ describe 'DistributionsMavenApi' do
75
76
  # @option opts [String] :name__regex Filter results where name matches regex value
76
77
  # @option opts [String] :name__startswith Filter results where name starts with value
77
78
  # @option opts [Integer] :offset The initial index from which to return the results.
78
- # @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;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
79
+ # @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;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
79
80
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
80
81
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
81
82
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -51,6 +51,12 @@ describe PulpMavenClient::MavenMavenArtifactResponse do
51
51
  end
52
52
  end
53
53
 
54
+ describe 'test attribute "pulp_labels"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
54
60
  describe 'test attribute "artifact"' do
55
61
  it 'should work' do
56
62
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -33,6 +33,12 @@ describe PulpMavenClient::MavenMavenArtifact do
33
33
  end
34
34
  end
35
35
 
36
+ describe 'test attribute "pulp_labels"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
36
42
  describe 'test attribute "artifact"' do
37
43
  it 'should work' do
38
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
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.8.3
4
+ version: 0.10.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: 2025-02-25 00:00:00.000000000 Z
11
+ date: 2025-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday-net_http