pulp_maven_client 0.10.1 → 0.12.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 (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -5
  3. data/docs/ContentArtifactApi.md +28 -12
  4. data/docs/DistributionsMavenApi.md +58 -30
  5. data/docs/MavenMavenArtifactResponse.md +2 -0
  6. data/docs/MavenMavenRemoteResponse.md +1 -1
  7. data/docs/PulpMavenApi.md +10 -4
  8. data/docs/RemotesMavenApi.md +58 -30
  9. data/docs/RepositoriesMavenApi.md +66 -34
  10. data/docs/RepositoriesMavenVersionsApi.md +22 -10
  11. data/docs/RepositoryVersionResponse.md +3 -1
  12. data/lib/pulp_maven_client/api/content_artifact_api.rb +15 -0
  13. data/lib/pulp_maven_client/api/distributions_maven_api.rb +34 -10
  14. data/lib/pulp_maven_client/api/pulp_maven_api.rb +6 -0
  15. data/lib/pulp_maven_client/api/remotes_maven_api.rb +34 -10
  16. data/lib/pulp_maven_client/api/repositories_maven_api.rb +37 -10
  17. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +15 -3
  18. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +10 -1
  19. data/lib/pulp_maven_client/models/maven_maven_remote.rb +0 -15
  20. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +0 -15
  21. data/lib/pulp_maven_client/models/maven_maven_repository.rb +0 -15
  22. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +0 -15
  23. data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +0 -2
  24. data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +0 -2
  25. data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +0 -2
  26. data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +0 -2
  27. data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +0 -2
  28. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +0 -15
  29. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +0 -15
  30. data/lib/pulp_maven_client/models/repository_version_response.rb +13 -4
  31. data/lib/pulp_maven_client/version.rb +1 -1
  32. data/spec/api/content_artifact_api_spec.rb +5 -0
  33. data/spec/api/distributions_maven_api_spec.rb +12 -4
  34. data/spec/api/pulp_maven_api_spec.rb +2 -0
  35. data/spec/api/remotes_maven_api_spec.rb +12 -4
  36. data/spec/api/repositories_maven_api_spec.rb +13 -4
  37. data/spec/api/repositories_maven_versions_api_spec.rb +5 -1
  38. data/spec/models/maven_maven_artifact_response_spec.rb +6 -0
  39. data/spec/models/repository_version_response_spec.rb +6 -0
  40. metadata +25 -25
@@ -24,6 +24,7 @@ module PulpMavenClient
24
24
  # @param maven_maven_repository_href [String]
25
25
  # @param repository_add_cached_content [RepositoryAddCachedContent]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @return [AsyncOperationResponse]
28
29
  def add_cached_content(maven_maven_repository_href, repository_add_cached_content, opts = {})
29
30
  data, _status_code, _headers = add_cached_content_with_http_info(maven_maven_repository_href, repository_add_cached_content, opts)
@@ -35,6 +36,7 @@ module PulpMavenClient
35
36
  # @param maven_maven_repository_href [String]
36
37
  # @param repository_add_cached_content [RepositoryAddCachedContent]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
40
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
39
41
  def add_cached_content_with_http_info(maven_maven_repository_href, repository_add_cached_content, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpMavenClient
63
65
  if !content_type.nil?
64
66
  header_params['Content-Type'] = content_type
65
67
  end
68
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
66
69
 
67
70
  # form parameters
68
71
  form_params = opts[:form_params] || {}
@@ -97,6 +100,7 @@ module PulpMavenClient
97
100
  # A ViewSet for MavenRemote.
98
101
  # @param maven_maven_repository [MavenMavenRepository]
99
102
  # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
104
  # @return [MavenMavenRepositoryResponse]
101
105
  def create(maven_maven_repository, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(maven_maven_repository, opts)
@@ -107,6 +111,7 @@ module PulpMavenClient
107
111
  # A ViewSet for MavenRemote.
108
112
  # @param maven_maven_repository [MavenMavenRepository]
109
113
  # @param [Hash] opts the optional parameters
114
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
115
  # @return [Array<(MavenMavenRepositoryResponse, Integer, Hash)>] MavenMavenRepositoryResponse data, response status code and response headers
111
116
  def create_with_http_info(maven_maven_repository, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpMavenClient
131
136
  if !content_type.nil?
132
137
  header_params['Content-Type'] = content_type
133
138
  end
139
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
134
140
 
135
141
  # form parameters
136
142
  form_params = opts[:form_params] || {}
@@ -165,6 +171,7 @@ module PulpMavenClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param maven_maven_repository_href [String]
167
173
  # @param [Hash] opts the optional parameters
174
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
168
175
  # @return [AsyncOperationResponse]
169
176
  def delete(maven_maven_repository_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(maven_maven_repository_href, opts)
@@ -175,6 +182,7 @@ module PulpMavenClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param maven_maven_repository_href [String]
177
184
  # @param [Hash] opts the optional parameters
185
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
178
186
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
179
187
  def delete_with_http_info(maven_maven_repository_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpMavenClient
194
202
  header_params = opts[:header_params] || {}
195
203
  # HTTP header 'Accept' (if needed)
196
204
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
205
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
197
206
 
198
207
  # form parameters
199
208
  form_params = opts[:form_params] || {}
@@ -227,6 +236,7 @@ module PulpMavenClient
227
236
  # List maven repositorys
228
237
  # A ViewSet for MavenRemote.
229
238
  # @param [Hash] opts the optional parameters
239
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
230
240
  # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
231
241
  # @option opts [Integer] :limit Number of results to return per page.
232
242
  # @option opts [String] :name Filter results where name matches value
@@ -266,6 +276,7 @@ module PulpMavenClient
266
276
  # List maven repositorys
267
277
  # A ViewSet for MavenRemote.
268
278
  # @param [Hash] opts the optional parameters
279
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
269
280
  # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
270
281
  # @option opts [Integer] :limit Number of results to return per page.
271
282
  # @option opts [String] :name Filter results where name matches value
@@ -345,6 +356,7 @@ module PulpMavenClient
345
356
  header_params = opts[:header_params] || {}
346
357
  # HTTP header 'Accept' (if needed)
347
358
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
359
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
348
360
 
349
361
  # form parameters
350
362
  form_params = opts[:form_params] || {}
@@ -376,22 +388,24 @@ module PulpMavenClient
376
388
  end
377
389
 
378
390
  # Update a maven repository
379
- # Trigger an asynchronous partial update task
391
+ # Update the entity partially and trigger an asynchronous task if necessary
380
392
  # @param maven_maven_repository_href [String]
381
393
  # @param patchedmaven_maven_repository [PatchedmavenMavenRepository]
382
394
  # @param [Hash] opts the optional parameters
383
- # @return [AsyncOperationResponse]
395
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
396
+ # @return [MavenMavenRepositoryResponse]
384
397
  def partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts = {})
385
398
  data, _status_code, _headers = partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts)
386
399
  data
387
400
  end
388
401
 
389
402
  # Update a maven repository
390
- # Trigger an asynchronous partial update task
403
+ # Update the entity partially and trigger an asynchronous task if necessary
391
404
  # @param maven_maven_repository_href [String]
392
405
  # @param patchedmaven_maven_repository [PatchedmavenMavenRepository]
393
406
  # @param [Hash] opts the optional parameters
394
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
407
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
408
+ # @return [Array<(MavenMavenRepositoryResponse, Integer, Hash)>] MavenMavenRepositoryResponse data, response status code and response headers
395
409
  def partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts = {})
396
410
  if @api_client.config.debugging
397
411
  @api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.partial_update ...'
@@ -419,6 +433,7 @@ module PulpMavenClient
419
433
  if !content_type.nil?
420
434
  header_params['Content-Type'] = content_type
421
435
  end
436
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
422
437
 
423
438
  # form parameters
424
439
  form_params = opts[:form_params] || {}
@@ -427,7 +442,7 @@ module PulpMavenClient
427
442
  post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedmaven_maven_repository)
428
443
 
429
444
  # return_type
430
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
445
+ return_type = opts[:debug_return_type] || 'MavenMavenRepositoryResponse'
431
446
 
432
447
  # auth_names
433
448
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -453,6 +468,7 @@ module PulpMavenClient
453
468
  # A ViewSet for MavenRemote.
454
469
  # @param maven_maven_repository_href [String]
455
470
  # @param [Hash] opts the optional parameters
471
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
456
472
  # @option opts [Array<String>] :fields A list of fields to include in the response.
457
473
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
458
474
  # @return [MavenMavenRepositoryResponse]
@@ -465,6 +481,7 @@ module PulpMavenClient
465
481
  # A ViewSet for MavenRemote.
466
482
  # @param maven_maven_repository_href [String]
467
483
  # @param [Hash] opts the optional parameters
484
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
468
485
  # @option opts [Array<String>] :fields A list of fields to include in the response.
469
486
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
470
487
  # @return [Array<(MavenMavenRepositoryResponse, Integer, Hash)>] MavenMavenRepositoryResponse data, response status code and response headers
@@ -488,6 +505,7 @@ module PulpMavenClient
488
505
  header_params = opts[:header_params] || {}
489
506
  # HTTP header 'Accept' (if needed)
490
507
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
508
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
491
509
 
492
510
  # form parameters
493
511
  form_params = opts[:form_params] || {}
@@ -523,6 +541,7 @@ module PulpMavenClient
523
541
  # @param maven_maven_repository_href [String]
524
542
  # @param set_label [SetLabel]
525
543
  # @param [Hash] opts the optional parameters
544
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
526
545
  # @return [SetLabelResponse]
527
546
  def set_label(maven_maven_repository_href, set_label, opts = {})
528
547
  data, _status_code, _headers = set_label_with_http_info(maven_maven_repository_href, set_label, opts)
@@ -534,6 +553,7 @@ module PulpMavenClient
534
553
  # @param maven_maven_repository_href [String]
535
554
  # @param set_label [SetLabel]
536
555
  # @param [Hash] opts the optional parameters
556
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
537
557
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
538
558
  def set_label_with_http_info(maven_maven_repository_href, set_label, opts = {})
539
559
  if @api_client.config.debugging
@@ -562,6 +582,7 @@ module PulpMavenClient
562
582
  if !content_type.nil?
563
583
  header_params['Content-Type'] = content_type
564
584
  end
585
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
565
586
 
566
587
  # form parameters
567
588
  form_params = opts[:form_params] || {}
@@ -597,6 +618,7 @@ module PulpMavenClient
597
618
  # @param maven_maven_repository_href [String]
598
619
  # @param unset_label [UnsetLabel]
599
620
  # @param [Hash] opts the optional parameters
621
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
600
622
  # @return [UnsetLabelResponse]
601
623
  def unset_label(maven_maven_repository_href, unset_label, opts = {})
602
624
  data, _status_code, _headers = unset_label_with_http_info(maven_maven_repository_href, unset_label, opts)
@@ -608,6 +630,7 @@ module PulpMavenClient
608
630
  # @param maven_maven_repository_href [String]
609
631
  # @param unset_label [UnsetLabel]
610
632
  # @param [Hash] opts the optional parameters
633
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
611
634
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
612
635
  def unset_label_with_http_info(maven_maven_repository_href, unset_label, opts = {})
613
636
  if @api_client.config.debugging
@@ -636,6 +659,7 @@ module PulpMavenClient
636
659
  if !content_type.nil?
637
660
  header_params['Content-Type'] = content_type
638
661
  end
662
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
639
663
 
640
664
  # form parameters
641
665
  form_params = opts[:form_params] || {}
@@ -667,22 +691,24 @@ module PulpMavenClient
667
691
  end
668
692
 
669
693
  # Update a maven repository
670
- # Trigger an asynchronous update task
694
+ # Update the entity and trigger an asynchronous task if necessary
671
695
  # @param maven_maven_repository_href [String]
672
696
  # @param maven_maven_repository [MavenMavenRepository]
673
697
  # @param [Hash] opts the optional parameters
674
- # @return [AsyncOperationResponse]
698
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
699
+ # @return [MavenMavenRepositoryResponse]
675
700
  def update(maven_maven_repository_href, maven_maven_repository, opts = {})
676
701
  data, _status_code, _headers = update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts)
677
702
  data
678
703
  end
679
704
 
680
705
  # Update a maven repository
681
- # Trigger an asynchronous update task
706
+ # Update the entity and trigger an asynchronous task if necessary
682
707
  # @param maven_maven_repository_href [String]
683
708
  # @param maven_maven_repository [MavenMavenRepository]
684
709
  # @param [Hash] opts the optional parameters
685
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
710
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
711
+ # @return [Array<(MavenMavenRepositoryResponse, Integer, Hash)>] MavenMavenRepositoryResponse data, response status code and response headers
686
712
  def update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts = {})
687
713
  if @api_client.config.debugging
688
714
  @api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.update ...'
@@ -710,6 +736,7 @@ module PulpMavenClient
710
736
  if !content_type.nil?
711
737
  header_params['Content-Type'] = content_type
712
738
  end
739
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
713
740
 
714
741
  # form parameters
715
742
  form_params = opts[:form_params] || {}
@@ -718,7 +745,7 @@ module PulpMavenClient
718
745
  post_body = opts[:debug_body] || @api_client.object_to_http_body(maven_maven_repository)
719
746
 
720
747
  # return_type
721
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
748
+ return_type = opts[:debug_return_type] || 'MavenMavenRepositoryResponse'
722
749
 
723
750
  # auth_names
724
751
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -23,6 +23,7 @@ module PulpMavenClient
23
23
  # Trigger an asynchronous task to delete a repository version.
24
24
  # @param maven_maven_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [AsyncOperationResponse]
27
28
  def delete(maven_maven_repository_version_href, opts = {})
28
29
  data, _status_code, _headers = delete_with_http_info(maven_maven_repository_version_href, opts)
@@ -33,6 +34,7 @@ module PulpMavenClient
33
34
  # Trigger an asynchronous task to delete a repository version.
34
35
  # @param maven_maven_repository_version_href [String]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
39
  def delete_with_http_info(maven_maven_repository_version_href, opts = {})
38
40
  if @api_client.config.debugging
@@ -52,6 +54,7 @@ module PulpMavenClient
52
54
  header_params = opts[:header_params] || {}
53
55
  # HTTP header 'Accept' (if needed)
54
56
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
57
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
55
58
 
56
59
  # form parameters
57
60
  form_params = opts[:form_params] || {}
@@ -86,6 +89,7 @@ module PulpMavenClient
86
89
  # MavenRepositoryVersion represents a single Maven repository version.
87
90
  # @param maven_maven_repository_href [String]
88
91
  # @param [Hash] opts the optional parameters
92
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
89
93
  # @option opts [String] :content Content Unit referenced by HREF/PRN
90
94
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
91
95
  # @option opts [Integer] :limit Number of results to return per page.
@@ -96,7 +100,7 @@ module PulpMavenClient
96
100
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
97
101
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
98
102
  # @option opts [Integer] :offset The initial index from which to return the results.
99
- # @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)
103
+ # @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;content_ids&#x60; - Content ids * &#x60;-content_ids&#x60; - Content ids (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
100
104
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
101
105
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
102
106
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -119,6 +123,7 @@ module PulpMavenClient
119
123
  # MavenRepositoryVersion represents a single Maven repository version.
120
124
  # @param maven_maven_repository_href [String]
121
125
  # @param [Hash] opts the optional parameters
126
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
122
127
  # @option opts [String] :content Content Unit referenced by HREF/PRN
123
128
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
124
129
  # @option opts [Integer] :limit Number of results to return per page.
@@ -129,7 +134,7 @@ module PulpMavenClient
129
134
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
130
135
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
131
136
  # @option opts [Integer] :offset The initial index from which to return the results.
132
- # @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)
137
+ # @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;content_ids&#x60; - Content ids * &#x60;-content_ids&#x60; - Content ids (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
133
138
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
134
139
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
135
140
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -151,7 +156,7 @@ module PulpMavenClient
151
156
  if @api_client.config.client_side_validation && maven_maven_repository_href.nil?
152
157
  fail ArgumentError, "Missing the required parameter 'maven_maven_repository_href' when calling RepositoriesMavenVersionsApi.list"
153
158
  end
154
- allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
159
+ allowable_values = ["-complete", "-content_ids", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "content_ids", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
155
160
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
156
161
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
157
162
  end
@@ -188,6 +193,7 @@ module PulpMavenClient
188
193
  header_params = opts[:header_params] || {}
189
194
  # HTTP header 'Accept' (if needed)
190
195
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
196
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
191
197
 
192
198
  # form parameters
193
199
  form_params = opts[:form_params] || {}
@@ -222,6 +228,7 @@ module PulpMavenClient
222
228
  # MavenRepositoryVersion represents a single Maven repository version.
223
229
  # @param maven_maven_repository_version_href [String]
224
230
  # @param [Hash] opts the optional parameters
231
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
225
232
  # @option opts [Array<String>] :fields A list of fields to include in the response.
226
233
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
227
234
  # @return [RepositoryVersionResponse]
@@ -234,6 +241,7 @@ module PulpMavenClient
234
241
  # MavenRepositoryVersion represents a single Maven repository version.
235
242
  # @param maven_maven_repository_version_href [String]
236
243
  # @param [Hash] opts the optional parameters
244
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
237
245
  # @option opts [Array<String>] :fields A list of fields to include in the response.
238
246
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
239
247
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
@@ -257,6 +265,7 @@ module PulpMavenClient
257
265
  header_params = opts[:header_params] || {}
258
266
  # HTTP header 'Accept' (if needed)
259
267
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
268
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
260
269
 
261
270
  # form parameters
262
271
  form_params = opts[:form_params] || {}
@@ -291,6 +300,7 @@ module PulpMavenClient
291
300
  # @param maven_maven_repository_version_href [String]
292
301
  # @param repair [Repair]
293
302
  # @param [Hash] opts the optional parameters
303
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
294
304
  # @return [AsyncOperationResponse]
295
305
  def repair(maven_maven_repository_version_href, repair, opts = {})
296
306
  data, _status_code, _headers = repair_with_http_info(maven_maven_repository_version_href, repair, opts)
@@ -301,6 +311,7 @@ module PulpMavenClient
301
311
  # @param maven_maven_repository_version_href [String]
302
312
  # @param repair [Repair]
303
313
  # @param [Hash] opts the optional parameters
314
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
304
315
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
305
316
  def repair_with_http_info(maven_maven_repository_version_href, repair, opts = {})
306
317
  if @api_client.config.debugging
@@ -329,6 +340,7 @@ module PulpMavenClient
329
340
  if !content_type.nil?
330
341
  header_params['Content-Type'] = content_type
331
342
  end
343
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
332
344
 
333
345
  # form parameters
334
346
  form_params = opts[:form_params] || {}
@@ -30,6 +30,8 @@ module PulpMavenClient
30
30
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
31
  attr_accessor :pulp_labels
32
32
 
33
+ attr_accessor :vuln_report
34
+
33
35
  # Artifact file representing the physical content
34
36
  attr_accessor :artifact
35
37
 
@@ -53,6 +55,7 @@ module PulpMavenClient
53
55
  :'pulp_created' => :'pulp_created',
54
56
  :'pulp_last_updated' => :'pulp_last_updated',
55
57
  :'pulp_labels' => :'pulp_labels',
58
+ :'vuln_report' => :'vuln_report',
56
59
  :'artifact' => :'artifact',
57
60
  :'group_id' => :'group_id',
58
61
  :'artifact_id' => :'artifact_id',
@@ -74,6 +77,7 @@ module PulpMavenClient
74
77
  :'pulp_created' => :'Time',
75
78
  :'pulp_last_updated' => :'Time',
76
79
  :'pulp_labels' => :'Hash<String, String>',
80
+ :'vuln_report' => :'String',
77
81
  :'artifact' => :'String',
78
82
  :'group_id' => :'String',
79
83
  :'artifact_id' => :'String',
@@ -125,6 +129,10 @@ module PulpMavenClient
125
129
  end
126
130
  end
127
131
 
132
+ if attributes.key?(:'vuln_report')
133
+ self.vuln_report = attributes[:'vuln_report']
134
+ end
135
+
128
136
  if attributes.key?(:'artifact')
129
137
  self.artifact = attributes[:'artifact']
130
138
  else
@@ -178,6 +186,7 @@ module PulpMavenClient
178
186
  pulp_created == o.pulp_created &&
179
187
  pulp_last_updated == o.pulp_last_updated &&
180
188
  pulp_labels == o.pulp_labels &&
189
+ vuln_report == o.vuln_report &&
181
190
  artifact == o.artifact &&
182
191
  group_id == o.group_id &&
183
192
  artifact_id == o.artifact_id &&
@@ -194,7 +203,7 @@ module PulpMavenClient
194
203
  # Calculates hash code according to all attributes.
195
204
  # @return [Integer] Hash code
196
205
  def hash
197
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, group_id, artifact_id, version, filename].hash
206
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, group_id, artifact_id, version, filename].hash
198
207
  end
199
208
 
200
209
  # Builds the object from hash
@@ -341,10 +341,6 @@ 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
-
348
344
  if !@total_timeout.nil? && @total_timeout < 0.0
349
345
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
350
346
  end
@@ -380,7 +376,6 @@ module PulpMavenClient
380
376
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
381
377
  return false if !@username.nil? && @username.to_s.length < 1
382
378
  return false if !@password.nil? && @password.to_s.length < 1
383
- return false if !@download_concurrency.nil? && @download_concurrency < 1
384
379
  return false if !@total_timeout.nil? && @total_timeout < 0.0
385
380
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
386
381
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -496,16 +491,6 @@ module PulpMavenClient
496
491
  @password = password
497
492
  end
498
493
 
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
-
509
494
  # Custom attribute writer method with validation
510
495
  # @param [Object] total_timeout Value to be assigned
511
496
  def total_timeout=(total_timeout)
@@ -297,10 +297,6 @@ 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
-
304
300
  if !@total_timeout.nil? && @total_timeout < 0.0
305
301
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
306
302
  end
@@ -326,7 +322,6 @@ module PulpMavenClient
326
322
  warn '[DEPRECATED] the `valid?` method is obsolete'
327
323
  return false if @name.nil?
328
324
  return false if @url.nil?
329
- return false if !@download_concurrency.nil? && @download_concurrency < 1
330
325
  return false if !@total_timeout.nil? && @total_timeout < 0.0
331
326
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
332
327
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -334,16 +329,6 @@ module PulpMavenClient
334
329
  true
335
330
  end
336
331
 
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
-
347
332
  # Custom attribute writer method with validation
348
333
  # @param [Object] total_timeout Value to be assigned
349
334
  def total_timeout=(total_timeout)
@@ -123,10 +123,6 @@ 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
-
130
126
  invalid_properties
131
127
  end
132
128
 
@@ -137,7 +133,6 @@ module PulpMavenClient
137
133
  return false if @name.nil?
138
134
  return false if @name.to_s.length < 1
139
135
  return false if !@description.nil? && @description.to_s.length < 1
140
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
141
136
  true
142
137
  end
143
138
 
@@ -165,16 +160,6 @@ module PulpMavenClient
165
160
  @description = description
166
161
  end
167
162
 
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
-
178
163
  # Checks equality by comparing each attribute.
179
164
  # @param [Object] Object to be compared
180
165
  def ==(o)
@@ -166,10 +166,6 @@ 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
-
173
169
  invalid_properties
174
170
  end
175
171
 
@@ -178,20 +174,9 @@ module PulpMavenClient
178
174
  def valid?
179
175
  warn '[DEPRECATED] the `valid?` method is obsolete'
180
176
  return false if @name.nil?
181
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
182
177
  true
183
178
  end
184
179
 
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
-
195
180
  # Checks equality by comparing each attribute.
196
181
  # @param [Object] Object to be compared
197
182
  def ==(o)
@@ -51,8 +51,6 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpMavenClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -329,10 +329,6 @@ 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
-
336
332
  if !@total_timeout.nil? && @total_timeout < 0.0
337
333
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
338
334
  end
@@ -366,7 +362,6 @@ module PulpMavenClient
366
362
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
367
363
  return false if !@username.nil? && @username.to_s.length < 1
368
364
  return false if !@password.nil? && @password.to_s.length < 1
369
- return false if !@download_concurrency.nil? && @download_concurrency < 1
370
365
  return false if !@total_timeout.nil? && @total_timeout < 0.0
371
366
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
372
367
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -482,16 +477,6 @@ module PulpMavenClient
482
477
  @password = password
483
478
  end
484
479
 
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
-
495
480
  # Custom attribute writer method with validation
496
481
  # @param [Object] total_timeout Value to be assigned
497
482
  def total_timeout=(total_timeout)