pulpcore_client 3.49.59 → 3.50.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 (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -6
  3. data/docs/AccessPoliciesApi.md +7 -23
  4. data/docs/ArtifactDistributionResponse.md +11 -11
  5. data/docs/ArtifactsApi.md +3 -13
  6. data/docs/ContentApi.md +1 -3
  7. data/docs/ContentguardsApi.md +1 -3
  8. data/docs/ContentguardsCompositeApi.md +13 -45
  9. data/docs/ContentguardsContentRedirectApi.md +13 -45
  10. data/docs/ContentguardsHeaderApi.md +13 -45
  11. data/docs/ContentguardsRbacApi.md +13 -45
  12. data/docs/DistributionsApi.md +1 -3
  13. data/docs/DistributionsArtifactsApi.md +1 -5
  14. data/docs/Domain.md +1 -1
  15. data/docs/DomainResponse.md +1 -1
  16. data/docs/DomainsApi.md +9 -29
  17. data/docs/ExportersFilesystemApi.md +9 -29
  18. data/docs/ExportersFilesystemExportsApi.md +5 -17
  19. data/docs/ExportersPulpApi.md +9 -29
  20. data/docs/ExportersPulpExportsApi.md +5 -17
  21. data/docs/GroupsApi.md +13 -45
  22. data/docs/GroupsRolesApi.md +5 -17
  23. data/docs/GroupsUsersApi.md +5 -15
  24. data/docs/ImportersPulpApi.md +9 -29
  25. data/docs/ImportersPulpImportCheckApi.md +3 -7
  26. data/docs/ImportersPulpImportsApi.md +5 -17
  27. data/docs/OrphansApi.md +4 -10
  28. data/docs/OrphansCleanupApi.md +3 -7
  29. data/docs/PatchedDomain.md +1 -1
  30. data/docs/PublicationsApi.md +1 -3
  31. data/docs/RemotesApi.md +1 -3
  32. data/docs/RepairApi.md +3 -7
  33. data/docs/RepositoriesApi.md +1 -3
  34. data/docs/RepositoriesReclaimSpaceApi.md +3 -7
  35. data/docs/RepositoryVersionsApi.md +1 -3
  36. data/docs/RolesApi.md +9 -29
  37. data/docs/SigningServicesApi.md +1 -5
  38. data/docs/StatusApi.md +4 -14
  39. data/docs/TaskGroupsApi.md +1 -5
  40. data/docs/TaskSchedulesApi.md +5 -21
  41. data/docs/TasksApi.md +13 -41
  42. data/docs/UploadsApi.md +11 -41
  43. data/docs/UpstreamPulpsApi.md +15 -51
  44. data/docs/UsersApi.md +9 -29
  45. data/docs/UsersRolesApi.md +5 -17
  46. data/docs/WorkersApi.md +1 -5
  47. data/lib/pulpcore_client/api/access_policies_api.rb +0 -15
  48. data/lib/pulpcore_client/api/artifacts_api.rb +0 -12
  49. data/lib/pulpcore_client/api/content_api.rb +0 -3
  50. data/lib/pulpcore_client/api/contentguards_api.rb +0 -3
  51. data/lib/pulpcore_client/api/contentguards_composite_api.rb +0 -30
  52. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +0 -30
  53. data/lib/pulpcore_client/api/contentguards_header_api.rb +0 -30
  54. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +0 -30
  55. data/lib/pulpcore_client/api/distributions_api.rb +0 -3
  56. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +0 -6
  57. data/lib/pulpcore_client/api/domains_api.rb +0 -18
  58. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +0 -18
  59. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -12
  60. data/lib/pulpcore_client/api/exporters_pulp_api.rb +0 -18
  61. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -12
  62. data/lib/pulpcore_client/api/groups_api.rb +0 -30
  63. data/lib/pulpcore_client/api/groups_roles_api.rb +0 -12
  64. data/lib/pulpcore_client/api/groups_users_api.rb +0 -9
  65. data/lib/pulpcore_client/api/importers_pulp_api.rb +0 -18
  66. data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +0 -3
  67. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -12
  68. data/lib/pulpcore_client/api/orphans_api.rb +0 -3
  69. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +0 -3
  70. data/lib/pulpcore_client/api/publications_api.rb +0 -3
  71. data/lib/pulpcore_client/api/remotes_api.rb +0 -3
  72. data/lib/pulpcore_client/api/repair_api.rb +0 -3
  73. data/lib/pulpcore_client/api/repositories_api.rb +0 -3
  74. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +0 -3
  75. data/lib/pulpcore_client/api/repository_versions_api.rb +0 -3
  76. data/lib/pulpcore_client/api/roles_api.rb +0 -18
  77. data/lib/pulpcore_client/api/signing_services_api.rb +0 -6
  78. data/lib/pulpcore_client/api/status_api.rb +0 -9
  79. data/lib/pulpcore_client/api/task_groups_api.rb +0 -6
  80. data/lib/pulpcore_client/api/task_schedules_api.rb +0 -18
  81. data/lib/pulpcore_client/api/tasks_api.rb +2 -29
  82. data/lib/pulpcore_client/api/uploads_api.rb +0 -30
  83. data/lib/pulpcore_client/api/upstream_pulps_api.rb +0 -33
  84. data/lib/pulpcore_client/api/users_api.rb +0 -18
  85. data/lib/pulpcore_client/api/users_roles_api.rb +0 -12
  86. data/lib/pulpcore_client/api/workers_api.rb +0 -6
  87. data/lib/pulpcore_client/configuration.rb +2 -2
  88. data/lib/pulpcore_client/models/artifact_distribution_response.rb +48 -48
  89. data/lib/pulpcore_client/models/domain.rb +1 -1
  90. data/lib/pulpcore_client/models/domain_response.rb +1 -1
  91. data/lib/pulpcore_client/models/patched_domain.rb +1 -1
  92. data/lib/pulpcore_client/models/storage_class_enum.rb +0 -1
  93. data/lib/pulpcore_client/version.rb +1 -1
  94. data/spec/api/access_policies_api_spec.rb +0 -5
  95. data/spec/api/artifacts_api_spec.rb +0 -4
  96. data/spec/api/content_api_spec.rb +0 -1
  97. data/spec/api/contentguards_api_spec.rb +0 -1
  98. data/spec/api/contentguards_composite_api_spec.rb +0 -10
  99. data/spec/api/contentguards_content_redirect_api_spec.rb +0 -10
  100. data/spec/api/contentguards_header_api_spec.rb +0 -10
  101. data/spec/api/contentguards_rbac_api_spec.rb +0 -10
  102. data/spec/api/distributions_api_spec.rb +0 -1
  103. data/spec/api/distributions_artifacts_api_spec.rb +0 -2
  104. data/spec/api/domains_api_spec.rb +0 -6
  105. data/spec/api/exporters_filesystem_api_spec.rb +0 -6
  106. data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -4
  107. data/spec/api/exporters_pulp_api_spec.rb +0 -6
  108. data/spec/api/exporters_pulp_exports_api_spec.rb +0 -4
  109. data/spec/api/groups_api_spec.rb +0 -10
  110. data/spec/api/groups_roles_api_spec.rb +0 -4
  111. data/spec/api/groups_users_api_spec.rb +0 -3
  112. data/spec/api/importers_pulp_api_spec.rb +0 -6
  113. data/spec/api/importers_pulp_import_check_api_spec.rb +0 -1
  114. data/spec/api/importers_pulp_imports_api_spec.rb +0 -4
  115. data/spec/api/orphans_api_spec.rb +0 -1
  116. data/spec/api/orphans_cleanup_api_spec.rb +0 -1
  117. data/spec/api/publications_api_spec.rb +0 -1
  118. data/spec/api/remotes_api_spec.rb +0 -1
  119. data/spec/api/repair_api_spec.rb +0 -1
  120. data/spec/api/repositories_api_spec.rb +0 -1
  121. data/spec/api/repositories_reclaim_space_api_spec.rb +0 -1
  122. data/spec/api/repository_versions_api_spec.rb +0 -1
  123. data/spec/api/roles_api_spec.rb +0 -6
  124. data/spec/api/signing_services_api_spec.rb +0 -2
  125. data/spec/api/status_api_spec.rb +0 -3
  126. data/spec/api/task_groups_api_spec.rb +0 -2
  127. data/spec/api/task_schedules_api_spec.rb +0 -6
  128. data/spec/api/tasks_api_spec.rb +1 -10
  129. data/spec/api/uploads_api_spec.rb +0 -10
  130. data/spec/api/upstream_pulps_api_spec.rb +0 -11
  131. data/spec/api/users_api_spec.rb +0 -6
  132. data/spec/api/users_roles_api_spec.rb +0 -4
  133. data/spec/api/workers_api_spec.rb +0 -2
  134. data/spec/configuration_spec.rb +3 -3
  135. data/spec/models/artifact_distribution_response_spec.rb +9 -9
  136. metadata +166 -166
@@ -24,7 +24,6 @@ module PulpcoreClient
24
24
  # @param task_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.
28
27
  # @return [NestedRoleResponse]
29
28
  def add_role(task_href, nested_role, opts = {})
30
29
  data, _status_code, _headers = add_role_with_http_info(task_href, nested_role, opts)
@@ -36,7 +35,6 @@ module PulpcoreClient
36
35
  # @param task_href [String]
37
36
  # @param nested_role [NestedRole]
38
37
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
38
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
41
39
  def add_role_with_http_info(task_href, nested_role, opts = {})
42
40
  if @api_client.config.debugging
@@ -62,7 +60,6 @@ module PulpcoreClient
62
60
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
63
61
  # HTTP header 'Content-Type'
64
62
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
65
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
66
63
 
67
64
  # form parameters
68
65
  form_params = opts[:form_params] || {}
@@ -96,7 +93,6 @@ module PulpcoreClient
96
93
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
97
94
  # @param task_href [String]
98
95
  # @param [Hash] opts the optional parameters
99
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
96
  # @return [nil]
101
97
  def delete(task_href, opts = {})
102
98
  delete_with_http_info(task_href, opts)
@@ -107,7 +103,6 @@ module PulpcoreClient
107
103
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
108
104
  # @param task_href [String]
109
105
  # @param [Hash] opts the optional parameters
110
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
111
106
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
112
107
  def delete_with_http_info(task_href, opts = {})
113
108
  if @api_client.config.debugging
@@ -125,7 +120,6 @@ module PulpcoreClient
125
120
 
126
121
  # header parameters
127
122
  header_params = opts[:header_params] || {}
128
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
129
123
 
130
124
  # form parameters
131
125
  form_params = opts[:form_params] || {}
@@ -158,7 +152,6 @@ module PulpcoreClient
158
152
  # List tasks
159
153
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
160
154
  # @param [Hash] opts the optional parameters
161
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
162
155
  # @option opts [String] :child_tasks Filter results where child_tasks matches value
163
156
  # @option opts [String] :created_resources
164
157
  # @option opts [String] :exclusive_resources
@@ -184,7 +177,7 @@ module PulpcoreClient
184
177
  # @option opts [String] :q
185
178
  # @option opts [String] :reserved_resources
186
179
  # @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
187
- # @option opts [Array<String>] :reserved_resources_record
180
+ # @option opts [Array<String>] :reserved_resources_record Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
188
181
  # @option opts [String] :shared_resources
189
182
  # @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
190
183
  # @option opts [DateTime] :started_at Filter results where started_at matches value
@@ -211,7 +204,6 @@ module PulpcoreClient
211
204
  # List tasks
212
205
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
213
206
  # @param [Hash] opts the optional parameters
214
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
215
207
  # @option opts [String] :child_tasks Filter results where child_tasks matches value
216
208
  # @option opts [String] :created_resources
217
209
  # @option opts [String] :exclusive_resources
@@ -237,7 +229,7 @@ module PulpcoreClient
237
229
  # @option opts [String] :q
238
230
  # @option opts [String] :reserved_resources
239
231
  # @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
240
- # @option opts [Array<String>] :reserved_resources_record
232
+ # @option opts [Array<String>] :reserved_resources_record Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
241
233
  # @option opts [String] :shared_resources
242
234
  # @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
243
235
  # @option opts [DateTime] :started_at Filter results where started_at matches value
@@ -321,7 +313,6 @@ module PulpcoreClient
321
313
  header_params = opts[:header_params] || {}
322
314
  # HTTP header 'Accept' (if needed)
323
315
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
324
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
325
316
 
326
317
  # form parameters
327
318
  form_params = opts[:form_params] || {}
@@ -355,7 +346,6 @@ module PulpcoreClient
355
346
  # List roles assigned to this object.
356
347
  # @param task_href [String]
357
348
  # @param [Hash] opts the optional parameters
358
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
359
349
  # @option opts [Array<String>] :fields A list of fields to include in the response.
360
350
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
361
351
  # @return [ObjectRolesResponse]
@@ -368,7 +358,6 @@ module PulpcoreClient
368
358
  # List roles assigned to this object.
369
359
  # @param task_href [String]
370
360
  # @param [Hash] opts the optional parameters
371
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
372
361
  # @option opts [Array<String>] :fields A list of fields to include in the response.
373
362
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
374
363
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -392,7 +381,6 @@ module PulpcoreClient
392
381
  header_params = opts[:header_params] || {}
393
382
  # HTTP header 'Accept' (if needed)
394
383
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
395
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
396
384
 
397
385
  # form parameters
398
386
  form_params = opts[:form_params] || {}
@@ -426,7 +414,6 @@ module PulpcoreClient
426
414
  # List permissions available to the current user on this object.
427
415
  # @param task_href [String]
428
416
  # @param [Hash] opts the optional parameters
429
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
430
417
  # @option opts [Array<String>] :fields A list of fields to include in the response.
431
418
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
432
419
  # @return [MyPermissionsResponse]
@@ -439,7 +426,6 @@ module PulpcoreClient
439
426
  # List permissions available to the current user on this object.
440
427
  # @param task_href [String]
441
428
  # @param [Hash] opts the optional parameters
442
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
443
429
  # @option opts [Array<String>] :fields A list of fields to include in the response.
444
430
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
445
431
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -463,7 +449,6 @@ module PulpcoreClient
463
449
  header_params = opts[:header_params] || {}
464
450
  # HTTP header 'Accept' (if needed)
465
451
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
466
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
467
452
 
468
453
  # form parameters
469
454
  form_params = opts[:form_params] || {}
@@ -497,7 +482,6 @@ module PulpcoreClient
497
482
  # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
498
483
  # @param purge [Purge]
499
484
  # @param [Hash] opts the optional parameters
500
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
501
485
  # @return [AsyncOperationResponse]
502
486
  def purge(purge, opts = {})
503
487
  data, _status_code, _headers = purge_with_http_info(purge, opts)
@@ -508,7 +492,6 @@ module PulpcoreClient
508
492
  # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
509
493
  # @param purge [Purge]
510
494
  # @param [Hash] opts the optional parameters
511
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
512
495
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
513
496
  def purge_with_http_info(purge, opts = {})
514
497
  if @api_client.config.debugging
@@ -530,7 +513,6 @@ module PulpcoreClient
530
513
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
531
514
  # HTTP header 'Content-Type'
532
515
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
533
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
534
516
 
535
517
  # form parameters
536
518
  form_params = opts[:form_params] || {}
@@ -564,7 +546,6 @@ module PulpcoreClient
564
546
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
565
547
  # @param task_href [String]
566
548
  # @param [Hash] opts the optional parameters
567
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
568
549
  # @option opts [Array<String>] :fields A list of fields to include in the response.
569
550
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
570
551
  # @return [TaskResponse]
@@ -577,7 +558,6 @@ module PulpcoreClient
577
558
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
578
559
  # @param task_href [String]
579
560
  # @param [Hash] opts the optional parameters
580
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
581
561
  # @option opts [Array<String>] :fields A list of fields to include in the response.
582
562
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
583
563
  # @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
@@ -601,7 +581,6 @@ module PulpcoreClient
601
581
  header_params = opts[:header_params] || {}
602
582
  # HTTP header 'Accept' (if needed)
603
583
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
604
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
605
584
 
606
585
  # form parameters
607
586
  form_params = opts[:form_params] || {}
@@ -636,7 +615,6 @@ module PulpcoreClient
636
615
  # @param task_href [String]
637
616
  # @param nested_role [NestedRole]
638
617
  # @param [Hash] opts the optional parameters
639
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
640
618
  # @return [NestedRoleResponse]
641
619
  def remove_role(task_href, nested_role, opts = {})
642
620
  data, _status_code, _headers = remove_role_with_http_info(task_href, nested_role, opts)
@@ -648,7 +626,6 @@ module PulpcoreClient
648
626
  # @param task_href [String]
649
627
  # @param nested_role [NestedRole]
650
628
  # @param [Hash] opts the optional parameters
651
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
652
629
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
653
630
  def remove_role_with_http_info(task_href, nested_role, opts = {})
654
631
  if @api_client.config.debugging
@@ -674,7 +651,6 @@ module PulpcoreClient
674
651
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
675
652
  # HTTP header 'Content-Type'
676
653
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
677
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
678
654
 
679
655
  # form parameters
680
656
  form_params = opts[:form_params] || {}
@@ -709,7 +685,6 @@ module PulpcoreClient
709
685
  # @param task_href [String]
710
686
  # @param patched_task_cancel [PatchedTaskCancel]
711
687
  # @param [Hash] opts the optional parameters
712
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
713
688
  # @return [TaskResponse]
714
689
  def tasks_cancel(task_href, patched_task_cancel, opts = {})
715
690
  data, _status_code, _headers = tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
@@ -721,7 +696,6 @@ module PulpcoreClient
721
696
  # @param task_href [String]
722
697
  # @param patched_task_cancel [PatchedTaskCancel]
723
698
  # @param [Hash] opts the optional parameters
724
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
725
699
  # @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
726
700
  def tasks_cancel_with_http_info(task_href, patched_task_cancel, opts = {})
727
701
  if @api_client.config.debugging
@@ -747,7 +721,6 @@ module PulpcoreClient
747
721
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
748
722
  # HTTP header 'Content-Type'
749
723
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
750
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
751
724
 
752
725
  # form parameters
753
726
  form_params = opts[:form_params] || {}
@@ -24,7 +24,6 @@ module PulpcoreClient
24
24
  # @param upload_href [String]
25
25
  # @param upload [Upload]
26
26
  # @param [Hash] opts the optional parameters
27
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
28
27
  # @return [NestedRoleResponse]
29
28
  def add_role(upload_href, upload, opts = {})
30
29
  data, _status_code, _headers = add_role_with_http_info(upload_href, upload, opts)
@@ -36,7 +35,6 @@ module PulpcoreClient
36
35
  # @param upload_href [String]
37
36
  # @param upload [Upload]
38
37
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
38
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
41
39
  def add_role_with_http_info(upload_href, upload, opts = {})
42
40
  if @api_client.config.debugging
@@ -62,7 +60,6 @@ module PulpcoreClient
62
60
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
63
61
  # HTTP header 'Content-Type'
64
62
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
65
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
66
63
 
67
64
  # form parameters
68
65
  form_params = opts[:form_params] || {}
@@ -97,7 +94,6 @@ module PulpcoreClient
97
94
  # @param upload_href [String]
98
95
  # @param upload_commit [UploadCommit]
99
96
  # @param [Hash] opts the optional parameters
100
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
101
97
  # @return [AsyncOperationResponse]
102
98
  def commit(upload_href, upload_commit, opts = {})
103
99
  data, _status_code, _headers = commit_with_http_info(upload_href, upload_commit, opts)
@@ -109,7 +105,6 @@ module PulpcoreClient
109
105
  # @param upload_href [String]
110
106
  # @param upload_commit [UploadCommit]
111
107
  # @param [Hash] opts the optional parameters
112
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
113
108
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
114
109
  def commit_with_http_info(upload_href, upload_commit, opts = {})
115
110
  if @api_client.config.debugging
@@ -135,7 +130,6 @@ module PulpcoreClient
135
130
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
136
131
  # HTTP header 'Content-Type'
137
132
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
138
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
139
133
 
140
134
  # form parameters
141
135
  form_params = opts[:form_params] || {}
@@ -169,7 +163,6 @@ module PulpcoreClient
169
163
  # View for chunked uploads.
170
164
  # @param upload [Upload]
171
165
  # @param [Hash] opts the optional parameters
172
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
173
166
  # @return [UploadResponse]
174
167
  def create(upload, opts = {})
175
168
  data, _status_code, _headers = create_with_http_info(upload, opts)
@@ -180,7 +173,6 @@ module PulpcoreClient
180
173
  # View for chunked uploads.
181
174
  # @param upload [Upload]
182
175
  # @param [Hash] opts the optional parameters
183
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
184
176
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
185
177
  def create_with_http_info(upload, opts = {})
186
178
  if @api_client.config.debugging
@@ -202,7 +194,6 @@ module PulpcoreClient
202
194
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
203
195
  # HTTP header 'Content-Type'
204
196
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
205
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
206
197
 
207
198
  # form parameters
208
199
  form_params = opts[:form_params] || {}
@@ -236,7 +227,6 @@ module PulpcoreClient
236
227
  # View for chunked uploads.
237
228
  # @param upload_href [String]
238
229
  # @param [Hash] opts the optional parameters
239
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
240
230
  # @return [nil]
241
231
  def delete(upload_href, opts = {})
242
232
  delete_with_http_info(upload_href, opts)
@@ -247,7 +237,6 @@ module PulpcoreClient
247
237
  # View for chunked uploads.
248
238
  # @param upload_href [String]
249
239
  # @param [Hash] opts the optional parameters
250
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
251
240
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
252
241
  def delete_with_http_info(upload_href, opts = {})
253
242
  if @api_client.config.debugging
@@ -265,7 +254,6 @@ module PulpcoreClient
265
254
 
266
255
  # header parameters
267
256
  header_params = opts[:header_params] || {}
268
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
269
257
 
270
258
  # form parameters
271
259
  form_params = opts[:form_params] || {}
@@ -298,7 +286,6 @@ module PulpcoreClient
298
286
  # List uploads
299
287
  # View for chunked uploads.
300
288
  # @param [Hash] opts the optional parameters
301
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
302
289
  # @option opts [Integer] :limit Number of results to return per page.
303
290
  # @option opts [Integer] :offset The initial index from which to return the results.
304
291
  # @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;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -320,7 +307,6 @@ module PulpcoreClient
320
307
  # List uploads
321
308
  # View for chunked uploads.
322
309
  # @param [Hash] opts the optional parameters
323
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
324
310
  # @option opts [Integer] :limit Number of results to return per page.
325
311
  # @option opts [Integer] :offset The initial index from which to return the results.
326
312
  # @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;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -364,7 +350,6 @@ module PulpcoreClient
364
350
  header_params = opts[:header_params] || {}
365
351
  # HTTP header 'Accept' (if needed)
366
352
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
367
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
368
353
 
369
354
  # form parameters
370
355
  form_params = opts[:form_params] || {}
@@ -398,7 +383,6 @@ module PulpcoreClient
398
383
  # List roles assigned to this object.
399
384
  # @param upload_href [String]
400
385
  # @param [Hash] opts the optional parameters
401
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
402
386
  # @option opts [Array<String>] :fields A list of fields to include in the response.
403
387
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
404
388
  # @return [ObjectRolesResponse]
@@ -411,7 +395,6 @@ module PulpcoreClient
411
395
  # List roles assigned to this object.
412
396
  # @param upload_href [String]
413
397
  # @param [Hash] opts the optional parameters
414
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
415
398
  # @option opts [Array<String>] :fields A list of fields to include in the response.
416
399
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
417
400
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -435,7 +418,6 @@ module PulpcoreClient
435
418
  header_params = opts[:header_params] || {}
436
419
  # HTTP header 'Accept' (if needed)
437
420
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
438
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
439
421
 
440
422
  # form parameters
441
423
  form_params = opts[:form_params] || {}
@@ -469,7 +451,6 @@ module PulpcoreClient
469
451
  # List permissions available to the current user on this object.
470
452
  # @param upload_href [String]
471
453
  # @param [Hash] opts the optional parameters
472
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
473
454
  # @option opts [Array<String>] :fields A list of fields to include in the response.
474
455
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
475
456
  # @return [MyPermissionsResponse]
@@ -482,7 +463,6 @@ module PulpcoreClient
482
463
  # List permissions available to the current user on this object.
483
464
  # @param upload_href [String]
484
465
  # @param [Hash] opts the optional parameters
485
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
486
466
  # @option opts [Array<String>] :fields A list of fields to include in the response.
487
467
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
488
468
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -506,7 +486,6 @@ module PulpcoreClient
506
486
  header_params = opts[:header_params] || {}
507
487
  # HTTP header 'Accept' (if needed)
508
488
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
509
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
510
489
 
511
490
  # form parameters
512
491
  form_params = opts[:form_params] || {}
@@ -540,7 +519,6 @@ module PulpcoreClient
540
519
  # View for chunked uploads.
541
520
  # @param upload_href [String]
542
521
  # @param [Hash] opts the optional parameters
543
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
544
522
  # @option opts [Array<String>] :fields A list of fields to include in the response.
545
523
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
546
524
  # @return [UploadDetailResponse]
@@ -553,7 +531,6 @@ module PulpcoreClient
553
531
  # View for chunked uploads.
554
532
  # @param upload_href [String]
555
533
  # @param [Hash] opts the optional parameters
556
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
557
534
  # @option opts [Array<String>] :fields A list of fields to include in the response.
558
535
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
559
536
  # @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
@@ -577,7 +554,6 @@ module PulpcoreClient
577
554
  header_params = opts[:header_params] || {}
578
555
  # HTTP header 'Accept' (if needed)
579
556
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
580
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
581
557
 
582
558
  # form parameters
583
559
  form_params = opts[:form_params] || {}
@@ -612,7 +588,6 @@ module PulpcoreClient
612
588
  # @param upload_href [String]
613
589
  # @param upload [Upload]
614
590
  # @param [Hash] opts the optional parameters
615
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
616
591
  # @return [NestedRoleResponse]
617
592
  def remove_role(upload_href, upload, opts = {})
618
593
  data, _status_code, _headers = remove_role_with_http_info(upload_href, upload, opts)
@@ -624,7 +599,6 @@ module PulpcoreClient
624
599
  # @param upload_href [String]
625
600
  # @param upload [Upload]
626
601
  # @param [Hash] opts the optional parameters
627
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
628
602
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
629
603
  def remove_role_with_http_info(upload_href, upload, opts = {})
630
604
  if @api_client.config.debugging
@@ -650,7 +624,6 @@ module PulpcoreClient
650
624
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
651
625
  # HTTP header 'Content-Type'
652
626
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
653
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
654
627
 
655
628
  # form parameters
656
629
  form_params = opts[:form_params] || {}
@@ -686,7 +659,6 @@ module PulpcoreClient
686
659
  # @param upload_href [String]
687
660
  # @param file [File] A chunk of the uploaded file.
688
661
  # @param [Hash] opts the optional parameters
689
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
690
662
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
691
663
  # @return [UploadResponse]
692
664
  def update(content_range, upload_href, file, opts = {})
@@ -700,7 +672,6 @@ module PulpcoreClient
700
672
  # @param upload_href [String]
701
673
  # @param file [File] A chunk of the uploaded file.
702
674
  # @param [Hash] opts the optional parameters
703
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
704
675
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
705
676
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
706
677
  def update_with_http_info(content_range, upload_href, file, opts = {})
@@ -736,7 +707,6 @@ module PulpcoreClient
736
707
  # HTTP header 'Content-Type'
737
708
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
738
709
  header_params[:'Content-Range'] = content_range
739
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
740
710
 
741
711
  # form parameters
742
712
  form_params = opts[:form_params] || {}