pulp_ostree_client 2.4.8 → 2.5.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 (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentCommitsApi.md +20 -8
  4. data/docs/ContentConfigsApi.md +20 -8
  5. data/docs/ContentContentApi.md +28 -12
  6. data/docs/ContentObjectsApi.md +20 -8
  7. data/docs/ContentRefsApi.md +20 -8
  8. data/docs/ContentSummariesApi.md +20 -8
  9. data/docs/DistributionsOstreeApi.md +72 -32
  10. data/docs/OstreeOstreeCommitResponse.md +2 -0
  11. data/docs/OstreeOstreeConfigResponse.md +2 -0
  12. data/docs/OstreeOstreeContentResponse.md +2 -0
  13. data/docs/OstreeOstreeObjectResponse.md +2 -0
  14. data/docs/OstreeOstreeRefResponse.md +2 -0
  15. data/docs/OstreeOstreeRemoteResponse.md +1 -1
  16. data/docs/OstreeOstreeSummaryResponse.md +2 -0
  17. data/docs/RemotesOstreeApi.md +72 -32
  18. data/docs/RepositoriesOstreeApi.md +104 -48
  19. data/docs/RepositoriesOstreeVersionsApi.md +22 -10
  20. data/docs/RepositoryVersionResponse.md +3 -1
  21. data/lib/pulp_ostree_client/api/content_commits_api.rb +12 -0
  22. data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -0
  23. data/lib/pulp_ostree_client/api/content_content_api.rb +15 -0
  24. data/lib/pulp_ostree_client/api/content_objects_api.rb +12 -0
  25. data/lib/pulp_ostree_client/api/content_refs_api.rb +12 -0
  26. data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -0
  27. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +36 -0
  28. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +36 -0
  29. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +48 -0
  30. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +15 -3
  31. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +10 -1
  32. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +10 -1
  33. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +10 -1
  34. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +10 -1
  35. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +10 -1
  36. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +0 -15
  37. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +0 -15
  38. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +0 -15
  39. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +0 -15
  40. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +10 -1
  41. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +0 -2
  42. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +0 -2
  43. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +0 -2
  44. data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +0 -2
  45. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +0 -2
  46. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +0 -2
  47. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +0 -2
  48. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +0 -2
  49. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +0 -2
  50. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +0 -2
  51. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +0 -15
  52. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +0 -15
  53. data/lib/pulp_ostree_client/models/repository_version_response.rb +13 -4
  54. data/lib/pulp_ostree_client/version.rb +1 -1
  55. data/spec/api/content_commits_api_spec.rb +4 -0
  56. data/spec/api/content_configs_api_spec.rb +4 -0
  57. data/spec/api/content_content_api_spec.rb +5 -0
  58. data/spec/api/content_objects_api_spec.rb +4 -0
  59. data/spec/api/content_refs_api_spec.rb +4 -0
  60. data/spec/api/content_summaries_api_spec.rb +4 -0
  61. data/spec/api/distributions_ostree_api_spec.rb +12 -0
  62. data/spec/api/remotes_ostree_api_spec.rb +12 -0
  63. data/spec/api/repositories_ostree_api_spec.rb +16 -0
  64. data/spec/api/repositories_ostree_versions_api_spec.rb +5 -1
  65. data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
  66. data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
  67. data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
  68. data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
  69. data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
  70. data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
  71. data/spec/models/repository_version_response_spec.rb +6 -0
  72. metadata +43 -43
@@ -24,6 +24,7 @@ module PulpOstreeClient
24
24
  # @param ostree_ostree_repository_href [String]
25
25
  # @param nested_role [NestedRole]
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 [NestedRoleResponse]
28
29
  def add_role(ostree_ostree_repository_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(ostree_ostree_repository_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpOstreeClient
35
36
  # @param ostree_ostree_repository_href [String]
36
37
  # @param nested_role [NestedRole]
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<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
39
41
  def add_role_with_http_info(ostree_ostree_repository_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpOstreeClient
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 PulpOstreeClient
97
100
  # A ViewSet class for OSTree repositories.
98
101
  # @param ostree_ostree_repository [OstreeOstreeRepository]
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 [OstreeOstreeRepositoryResponse]
101
105
  def create(ostree_ostree_repository, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(ostree_ostree_repository, opts)
@@ -107,6 +111,7 @@ module PulpOstreeClient
107
111
  # A ViewSet class for OSTree repositories.
108
112
  # @param ostree_ostree_repository [OstreeOstreeRepository]
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<(OstreeOstreeRepositoryResponse, Integer, Hash)>] OstreeOstreeRepositoryResponse data, response status code and response headers
111
116
  def create_with_http_info(ostree_ostree_repository, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpOstreeClient
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 PulpOstreeClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param ostree_ostree_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(ostree_ostree_repository_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(ostree_ostree_repository_href, opts)
@@ -175,6 +182,7 @@ module PulpOstreeClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param ostree_ostree_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(ostree_ostree_repository_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpOstreeClient
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] || {}
@@ -229,6 +238,7 @@ module PulpOstreeClient
229
238
  # @param ostree_ostree_repository_href [String]
230
239
  # @param ostree_import_all [OstreeImportAll]
231
240
  # @param [Hash] opts the optional parameters
241
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
232
242
  # @return [AsyncOperationResponse]
233
243
  def import_all(ostree_ostree_repository_href, ostree_import_all, opts = {})
234
244
  data, _status_code, _headers = import_all_with_http_info(ostree_ostree_repository_href, ostree_import_all, opts)
@@ -240,6 +250,7 @@ module PulpOstreeClient
240
250
  # @param ostree_ostree_repository_href [String]
241
251
  # @param ostree_import_all [OstreeImportAll]
242
252
  # @param [Hash] opts the optional parameters
253
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
243
254
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
244
255
  def import_all_with_http_info(ostree_ostree_repository_href, ostree_import_all, opts = {})
245
256
  if @api_client.config.debugging
@@ -268,6 +279,7 @@ module PulpOstreeClient
268
279
  if !content_type.nil?
269
280
  header_params['Content-Type'] = content_type
270
281
  end
282
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
271
283
 
272
284
  # form parameters
273
285
  form_params = opts[:form_params] || {}
@@ -303,6 +315,7 @@ module PulpOstreeClient
303
315
  # @param ostree_ostree_repository_href [String]
304
316
  # @param ostree_import_commits_to_ref [OstreeImportCommitsToRef]
305
317
  # @param [Hash] opts the optional parameters
318
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
306
319
  # @return [AsyncOperationResponse]
307
320
  def import_commits(ostree_ostree_repository_href, ostree_import_commits_to_ref, opts = {})
308
321
  data, _status_code, _headers = import_commits_with_http_info(ostree_ostree_repository_href, ostree_import_commits_to_ref, opts)
@@ -314,6 +327,7 @@ module PulpOstreeClient
314
327
  # @param ostree_ostree_repository_href [String]
315
328
  # @param ostree_import_commits_to_ref [OstreeImportCommitsToRef]
316
329
  # @param [Hash] opts the optional parameters
330
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
317
331
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
318
332
  def import_commits_with_http_info(ostree_ostree_repository_href, ostree_import_commits_to_ref, opts = {})
319
333
  if @api_client.config.debugging
@@ -342,6 +356,7 @@ module PulpOstreeClient
342
356
  if !content_type.nil?
343
357
  header_params['Content-Type'] = content_type
344
358
  end
359
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
345
360
 
346
361
  # form parameters
347
362
  form_params = opts[:form_params] || {}
@@ -375,6 +390,7 @@ module PulpOstreeClient
375
390
  # List ostree repositorys
376
391
  # A ViewSet class for OSTree repositories.
377
392
  # @param [Hash] opts the optional parameters
393
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
378
394
  # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
379
395
  # @option opts [Integer] :limit Number of results to return per page.
380
396
  # @option opts [String] :name Filter results where name matches value
@@ -414,6 +430,7 @@ module PulpOstreeClient
414
430
  # List ostree repositorys
415
431
  # A ViewSet class for OSTree repositories.
416
432
  # @param [Hash] opts the optional parameters
433
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
417
434
  # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
418
435
  # @option opts [Integer] :limit Number of results to return per page.
419
436
  # @option opts [String] :name Filter results where name matches value
@@ -493,6 +510,7 @@ module PulpOstreeClient
493
510
  header_params = opts[:header_params] || {}
494
511
  # HTTP header 'Accept' (if needed)
495
512
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
513
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
496
514
 
497
515
  # form parameters
498
516
  form_params = opts[:form_params] || {}
@@ -527,6 +545,7 @@ module PulpOstreeClient
527
545
  # List roles assigned to this object.
528
546
  # @param ostree_ostree_repository_href [String]
529
547
  # @param [Hash] opts the optional parameters
548
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
530
549
  # @option opts [Array<String>] :fields A list of fields to include in the response.
531
550
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
532
551
  # @return [ObjectRolesResponse]
@@ -539,6 +558,7 @@ module PulpOstreeClient
539
558
  # List roles assigned to this object.
540
559
  # @param ostree_ostree_repository_href [String]
541
560
  # @param [Hash] opts the optional parameters
561
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
542
562
  # @option opts [Array<String>] :fields A list of fields to include in the response.
543
563
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
544
564
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -562,6 +582,7 @@ module PulpOstreeClient
562
582
  header_params = opts[:header_params] || {}
563
583
  # HTTP header 'Accept' (if needed)
564
584
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
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 PulpOstreeClient
597
618
  # @param ostree_ostree_repository_href [String]
598
619
  # @param repository_add_remove_content [RepositoryAddRemoveContent]
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 [AsyncOperationResponse]
601
623
  def modify(ostree_ostree_repository_href, repository_add_remove_content, opts = {})
602
624
  data, _status_code, _headers = modify_with_http_info(ostree_ostree_repository_href, repository_add_remove_content, opts)
@@ -608,6 +630,7 @@ module PulpOstreeClient
608
630
  # @param ostree_ostree_repository_href [String]
609
631
  # @param repository_add_remove_content [RepositoryAddRemoveContent]
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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
612
635
  def modify_with_http_info(ostree_ostree_repository_href, repository_add_remove_content, opts = {})
613
636
  if @api_client.config.debugging
@@ -636,6 +659,7 @@ module PulpOstreeClient
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] || {}
@@ -670,6 +694,7 @@ module PulpOstreeClient
670
694
  # List permissions available to the current user on this object.
671
695
  # @param ostree_ostree_repository_href [String]
672
696
  # @param [Hash] opts the optional parameters
697
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
673
698
  # @option opts [Array<String>] :fields A list of fields to include in the response.
674
699
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
675
700
  # @return [MyPermissionsResponse]
@@ -682,6 +707,7 @@ module PulpOstreeClient
682
707
  # List permissions available to the current user on this object.
683
708
  # @param ostree_ostree_repository_href [String]
684
709
  # @param [Hash] opts the optional parameters
710
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
685
711
  # @option opts [Array<String>] :fields A list of fields to include in the response.
686
712
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
687
713
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -705,6 +731,7 @@ module PulpOstreeClient
705
731
  header_params = opts[:header_params] || {}
706
732
  # HTTP header 'Accept' (if needed)
707
733
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
734
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
708
735
 
709
736
  # form parameters
710
737
  form_params = opts[:form_params] || {}
@@ -740,6 +767,7 @@ module PulpOstreeClient
740
767
  # @param ostree_ostree_repository_href [String]
741
768
  # @param patchedostree_ostree_repository [PatchedostreeOstreeRepository]
742
769
  # @param [Hash] opts the optional parameters
770
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
743
771
  # @return [AsyncOperationResponse]
744
772
  def partial_update(ostree_ostree_repository_href, patchedostree_ostree_repository, opts = {})
745
773
  data, _status_code, _headers = partial_update_with_http_info(ostree_ostree_repository_href, patchedostree_ostree_repository, opts)
@@ -751,6 +779,7 @@ module PulpOstreeClient
751
779
  # @param ostree_ostree_repository_href [String]
752
780
  # @param patchedostree_ostree_repository [PatchedostreeOstreeRepository]
753
781
  # @param [Hash] opts the optional parameters
782
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
754
783
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
755
784
  def partial_update_with_http_info(ostree_ostree_repository_href, patchedostree_ostree_repository, opts = {})
756
785
  if @api_client.config.debugging
@@ -779,6 +808,7 @@ module PulpOstreeClient
779
808
  if !content_type.nil?
780
809
  header_params['Content-Type'] = content_type
781
810
  end
811
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
782
812
 
783
813
  # form parameters
784
814
  form_params = opts[:form_params] || {}
@@ -813,6 +843,7 @@ module PulpOstreeClient
813
843
  # A ViewSet class for OSTree repositories.
814
844
  # @param ostree_ostree_repository_href [String]
815
845
  # @param [Hash] opts the optional parameters
846
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
816
847
  # @option opts [Array<String>] :fields A list of fields to include in the response.
817
848
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
818
849
  # @return [OstreeOstreeRepositoryResponse]
@@ -825,6 +856,7 @@ module PulpOstreeClient
825
856
  # A ViewSet class for OSTree repositories.
826
857
  # @param ostree_ostree_repository_href [String]
827
858
  # @param [Hash] opts the optional parameters
859
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
828
860
  # @option opts [Array<String>] :fields A list of fields to include in the response.
829
861
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
830
862
  # @return [Array<(OstreeOstreeRepositoryResponse, Integer, Hash)>] OstreeOstreeRepositoryResponse data, response status code and response headers
@@ -848,6 +880,7 @@ module PulpOstreeClient
848
880
  header_params = opts[:header_params] || {}
849
881
  # HTTP header 'Accept' (if needed)
850
882
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
883
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
851
884
 
852
885
  # form parameters
853
886
  form_params = opts[:form_params] || {}
@@ -883,6 +916,7 @@ module PulpOstreeClient
883
916
  # @param ostree_ostree_repository_href [String]
884
917
  # @param nested_role [NestedRole]
885
918
  # @param [Hash] opts the optional parameters
919
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
886
920
  # @return [NestedRoleResponse]
887
921
  def remove_role(ostree_ostree_repository_href, nested_role, opts = {})
888
922
  data, _status_code, _headers = remove_role_with_http_info(ostree_ostree_repository_href, nested_role, opts)
@@ -894,6 +928,7 @@ module PulpOstreeClient
894
928
  # @param ostree_ostree_repository_href [String]
895
929
  # @param nested_role [NestedRole]
896
930
  # @param [Hash] opts the optional parameters
931
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
897
932
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
898
933
  def remove_role_with_http_info(ostree_ostree_repository_href, nested_role, opts = {})
899
934
  if @api_client.config.debugging
@@ -922,6 +957,7 @@ module PulpOstreeClient
922
957
  if !content_type.nil?
923
958
  header_params['Content-Type'] = content_type
924
959
  end
960
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
925
961
 
926
962
  # form parameters
927
963
  form_params = opts[:form_params] || {}
@@ -957,6 +993,7 @@ module PulpOstreeClient
957
993
  # @param ostree_ostree_repository_href [String]
958
994
  # @param set_label [SetLabel]
959
995
  # @param [Hash] opts the optional parameters
996
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
960
997
  # @return [SetLabelResponse]
961
998
  def set_label(ostree_ostree_repository_href, set_label, opts = {})
962
999
  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_repository_href, set_label, opts)
@@ -968,6 +1005,7 @@ module PulpOstreeClient
968
1005
  # @param ostree_ostree_repository_href [String]
969
1006
  # @param set_label [SetLabel]
970
1007
  # @param [Hash] opts the optional parameters
1008
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
971
1009
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
972
1010
  def set_label_with_http_info(ostree_ostree_repository_href, set_label, opts = {})
973
1011
  if @api_client.config.debugging
@@ -996,6 +1034,7 @@ module PulpOstreeClient
996
1034
  if !content_type.nil?
997
1035
  header_params['Content-Type'] = content_type
998
1036
  end
1037
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
999
1038
 
1000
1039
  # form parameters
1001
1040
  form_params = opts[:form_params] || {}
@@ -1031,6 +1070,7 @@ module PulpOstreeClient
1031
1070
  # @param ostree_ostree_repository_href [String]
1032
1071
  # @param repository_sync_url [RepositorySyncURL]
1033
1072
  # @param [Hash] opts the optional parameters
1073
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1034
1074
  # @return [AsyncOperationResponse]
1035
1075
  def sync(ostree_ostree_repository_href, repository_sync_url, opts = {})
1036
1076
  data, _status_code, _headers = sync_with_http_info(ostree_ostree_repository_href, repository_sync_url, opts)
@@ -1042,6 +1082,7 @@ module PulpOstreeClient
1042
1082
  # @param ostree_ostree_repository_href [String]
1043
1083
  # @param repository_sync_url [RepositorySyncURL]
1044
1084
  # @param [Hash] opts the optional parameters
1085
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1045
1086
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
1046
1087
  def sync_with_http_info(ostree_ostree_repository_href, repository_sync_url, opts = {})
1047
1088
  if @api_client.config.debugging
@@ -1070,6 +1111,7 @@ module PulpOstreeClient
1070
1111
  if !content_type.nil?
1071
1112
  header_params['Content-Type'] = content_type
1072
1113
  end
1114
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
1073
1115
 
1074
1116
  # form parameters
1075
1117
  form_params = opts[:form_params] || {}
@@ -1105,6 +1147,7 @@ module PulpOstreeClient
1105
1147
  # @param ostree_ostree_repository_href [String]
1106
1148
  # @param unset_label [UnsetLabel]
1107
1149
  # @param [Hash] opts the optional parameters
1150
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1108
1151
  # @return [UnsetLabelResponse]
1109
1152
  def unset_label(ostree_ostree_repository_href, unset_label, opts = {})
1110
1153
  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_repository_href, unset_label, opts)
@@ -1116,6 +1159,7 @@ module PulpOstreeClient
1116
1159
  # @param ostree_ostree_repository_href [String]
1117
1160
  # @param unset_label [UnsetLabel]
1118
1161
  # @param [Hash] opts the optional parameters
1162
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1119
1163
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
1120
1164
  def unset_label_with_http_info(ostree_ostree_repository_href, unset_label, opts = {})
1121
1165
  if @api_client.config.debugging
@@ -1144,6 +1188,7 @@ module PulpOstreeClient
1144
1188
  if !content_type.nil?
1145
1189
  header_params['Content-Type'] = content_type
1146
1190
  end
1191
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
1147
1192
 
1148
1193
  # form parameters
1149
1194
  form_params = opts[:form_params] || {}
@@ -1179,6 +1224,7 @@ module PulpOstreeClient
1179
1224
  # @param ostree_ostree_repository_href [String]
1180
1225
  # @param ostree_ostree_repository [OstreeOstreeRepository]
1181
1226
  # @param [Hash] opts the optional parameters
1227
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1182
1228
  # @return [AsyncOperationResponse]
1183
1229
  def update(ostree_ostree_repository_href, ostree_ostree_repository, opts = {})
1184
1230
  data, _status_code, _headers = update_with_http_info(ostree_ostree_repository_href, ostree_ostree_repository, opts)
@@ -1190,6 +1236,7 @@ module PulpOstreeClient
1190
1236
  # @param ostree_ostree_repository_href [String]
1191
1237
  # @param ostree_ostree_repository [OstreeOstreeRepository]
1192
1238
  # @param [Hash] opts the optional parameters
1239
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1193
1240
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
1194
1241
  def update_with_http_info(ostree_ostree_repository_href, ostree_ostree_repository, opts = {})
1195
1242
  if @api_client.config.debugging
@@ -1218,6 +1265,7 @@ module PulpOstreeClient
1218
1265
  if !content_type.nil?
1219
1266
  header_params['Content-Type'] = content_type
1220
1267
  end
1268
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
1221
1269
 
1222
1270
  # form parameters
1223
1271
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpOstreeClient
23
23
  # Trigger an asynchronous task to delete a repository version.
24
24
  # @param ostree_ostree_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(ostree_ostree_repository_version_href, opts = {})
28
29
  data, _status_code, _headers = delete_with_http_info(ostree_ostree_repository_version_href, opts)
@@ -33,6 +34,7 @@ module PulpOstreeClient
33
34
  # Trigger an asynchronous task to delete a repository version.
34
35
  # @param ostree_ostree_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(ostree_ostree_repository_version_href, opts = {})
38
40
  if @api_client.config.debugging
@@ -52,6 +54,7 @@ module PulpOstreeClient
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 PulpOstreeClient
86
89
  # A ViewSet class that represents a single OSTree repository version.
87
90
  # @param ostree_ostree_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 PulpOstreeClient
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 PulpOstreeClient
119
123
  # A ViewSet class that represents a single OSTree repository version.
120
124
  # @param ostree_ostree_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 PulpOstreeClient
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 PulpOstreeClient
151
156
  if @api_client.config.client_side_validation && ostree_ostree_repository_href.nil?
152
157
  fail ArgumentError, "Missing the required parameter 'ostree_ostree_repository_href' when calling RepositoriesOstreeVersionsApi.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 PulpOstreeClient
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 PulpOstreeClient
222
228
  # A ViewSet class that represents a single OSTree repository version.
223
229
  # @param ostree_ostree_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 PulpOstreeClient
234
241
  # A ViewSet class that represents a single OSTree repository version.
235
242
  # @param ostree_ostree_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 PulpOstreeClient
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 PulpOstreeClient
291
300
  # @param ostree_ostree_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(ostree_ostree_repository_version_href, repair, opts = {})
296
306
  data, _status_code, _headers = repair_with_http_info(ostree_ostree_repository_version_href, repair, opts)
@@ -301,6 +311,7 @@ module PulpOstreeClient
301
311
  # @param ostree_ostree_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(ostree_ostree_repository_version_href, repair, opts = {})
306
317
  if @api_client.config.debugging
@@ -329,6 +340,7 @@ module PulpOstreeClient
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 PulpOstreeClient
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
 
@@ -50,6 +52,7 @@ module PulpOstreeClient
50
52
  :'pulp_created' => :'pulp_created',
51
53
  :'pulp_last_updated' => :'pulp_last_updated',
52
54
  :'pulp_labels' => :'pulp_labels',
55
+ :'vuln_report' => :'vuln_report',
53
56
  :'artifact' => :'artifact',
54
57
  :'relative_path' => :'relative_path',
55
58
  :'parent_commit' => :'parent_commit',
@@ -71,6 +74,7 @@ module PulpOstreeClient
71
74
  :'pulp_created' => :'Time',
72
75
  :'pulp_last_updated' => :'Time',
73
76
  :'pulp_labels' => :'Hash<String, String>',
77
+ :'vuln_report' => :'String',
74
78
  :'artifact' => :'String',
75
79
  :'relative_path' => :'String',
76
80
  :'parent_commit' => :'String',
@@ -123,6 +127,10 @@ module PulpOstreeClient
123
127
  end
124
128
  end
125
129
 
130
+ if attributes.key?(:'vuln_report')
131
+ self.vuln_report = attributes[:'vuln_report']
132
+ end
133
+
126
134
  if attributes.key?(:'artifact')
127
135
  self.artifact = attributes[:'artifact']
128
136
  else
@@ -199,6 +207,7 @@ module PulpOstreeClient
199
207
  pulp_created == o.pulp_created &&
200
208
  pulp_last_updated == o.pulp_last_updated &&
201
209
  pulp_labels == o.pulp_labels &&
210
+ vuln_report == o.vuln_report &&
202
211
  artifact == o.artifact &&
203
212
  relative_path == o.relative_path &&
204
213
  parent_commit == o.parent_commit &&
@@ -215,7 +224,7 @@ module PulpOstreeClient
215
224
  # Calculates hash code according to all attributes.
216
225
  # @return [Integer] Hash code
217
226
  def hash
218
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, parent_commit, checksum, objs].hash
227
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, parent_commit, checksum, objs].hash
219
228
  end
220
229
 
221
230
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpOstreeClient
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
 
@@ -44,6 +46,7 @@ module PulpOstreeClient
44
46
  :'pulp_created' => :'pulp_created',
45
47
  :'pulp_last_updated' => :'pulp_last_updated',
46
48
  :'pulp_labels' => :'pulp_labels',
49
+ :'vuln_report' => :'vuln_report',
47
50
  :'artifact' => :'artifact',
48
51
  :'relative_path' => :'relative_path'
49
52
  }
@@ -62,6 +65,7 @@ module PulpOstreeClient
62
65
  :'pulp_created' => :'Time',
63
66
  :'pulp_last_updated' => :'Time',
64
67
  :'pulp_labels' => :'Hash<String, String>',
68
+ :'vuln_report' => :'String',
65
69
  :'artifact' => :'String',
66
70
  :'relative_path' => :'String'
67
71
  }
@@ -110,6 +114,10 @@ module PulpOstreeClient
110
114
  end
111
115
  end
112
116
 
117
+ if attributes.key?(:'vuln_report')
118
+ self.vuln_report = attributes[:'vuln_report']
119
+ end
120
+
113
121
  if attributes.key?(:'artifact')
114
122
  self.artifact = attributes[:'artifact']
115
123
  else
@@ -158,6 +166,7 @@ module PulpOstreeClient
158
166
  pulp_created == o.pulp_created &&
159
167
  pulp_last_updated == o.pulp_last_updated &&
160
168
  pulp_labels == o.pulp_labels &&
169
+ vuln_report == o.vuln_report &&
161
170
  artifact == o.artifact &&
162
171
  relative_path == o.relative_path
163
172
  end
@@ -171,7 +180,7 @@ module PulpOstreeClient
171
180
  # Calculates hash code according to all attributes.
172
181
  # @return [Integer] Hash code
173
182
  def hash
174
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path].hash
183
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path].hash
175
184
  end
176
185
 
177
186
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpOstreeClient
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
 
@@ -45,6 +47,7 @@ module PulpOstreeClient
45
47
  :'pulp_created' => :'pulp_created',
46
48
  :'pulp_last_updated' => :'pulp_last_updated',
47
49
  :'pulp_labels' => :'pulp_labels',
50
+ :'vuln_report' => :'vuln_report',
48
51
  :'artifact' => :'artifact',
49
52
  :'relative_path' => :'relative_path',
50
53
  :'digest' => :'digest'
@@ -64,6 +67,7 @@ module PulpOstreeClient
64
67
  :'pulp_created' => :'Time',
65
68
  :'pulp_last_updated' => :'Time',
66
69
  :'pulp_labels' => :'Hash<String, String>',
70
+ :'vuln_report' => :'String',
67
71
  :'artifact' => :'String',
68
72
  :'relative_path' => :'String',
69
73
  :'digest' => :'String'
@@ -113,6 +117,10 @@ module PulpOstreeClient
113
117
  end
114
118
  end
115
119
 
120
+ if attributes.key?(:'vuln_report')
121
+ self.vuln_report = attributes[:'vuln_report']
122
+ end
123
+
116
124
  if attributes.key?(:'artifact')
117
125
  self.artifact = attributes[:'artifact']
118
126
  else
@@ -172,6 +180,7 @@ module PulpOstreeClient
172
180
  pulp_created == o.pulp_created &&
173
181
  pulp_last_updated == o.pulp_last_updated &&
174
182
  pulp_labels == o.pulp_labels &&
183
+ vuln_report == o.vuln_report &&
175
184
  artifact == o.artifact &&
176
185
  relative_path == o.relative_path &&
177
186
  digest == o.digest
@@ -186,7 +195,7 @@ module PulpOstreeClient
186
195
  # Calculates hash code according to all attributes.
187
196
  # @return [Integer] Hash code
188
197
  def hash
189
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, digest].hash
198
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, digest].hash
190
199
  end
191
200
 
192
201
  # Builds the object from hash