pulp_container_client 2.14.14 → 2.14.16

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 (250) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +222 -246
  3. data/docs/AccessPoliciesApi.md +28 -32
  4. data/docs/ArtifactDistributionResponse.md +7 -7
  5. data/docs/ArtifactsApi.md +23 -27
  6. data/docs/ContainerContainerDistribution.md +5 -5
  7. data/docs/ContainerContainerDistributionResponse.md +8 -8
  8. data/docs/ContainerContainerPushRepository.md +5 -5
  9. data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
  10. data/docs/ContainerContainerRemote.md +1 -1
  11. data/docs/ContainerContainerRemoteResponse.md +1 -1
  12. data/docs/ContainerContainerRepository.md +1 -1
  13. data/docs/ContainerContainerRepositoryResponse.md +1 -1
  14. data/docs/ContentApi.md +8 -14
  15. data/docs/ContentBlobsApi.md +13 -17
  16. data/docs/ContentManifestsApi.md +15 -19
  17. data/docs/ContentSignaturesApi.md +13 -17
  18. data/docs/ContentTagsApi.md +15 -19
  19. data/docs/ContentguardsApi.md +8 -14
  20. data/docs/ContentguardsContentRedirectApi.md +53 -57
  21. data/docs/ContentguardsRbacApi.md +53 -57
  22. data/docs/DistributionsApi.md +8 -18
  23. data/docs/DistributionsArtifactsApi.md +13 -21
  24. data/docs/DistributionsContainerApi.md +53 -61
  25. data/docs/DocsApiJsonApi.md +6 -6
  26. data/docs/DocsApiYamlApi.md +6 -6
  27. data/docs/ExportersFilesystemApi.md +36 -40
  28. data/docs/ExportersFilesystemExportsApi.md +24 -24
  29. data/docs/ExportersPulpApi.md +33 -37
  30. data/docs/ExportersPulpExportsApi.md +21 -21
  31. data/docs/FilesystemExporter.md +1 -1
  32. data/docs/FilesystemExporterResponse.md +1 -1
  33. data/docs/GroupRole.md +1 -3
  34. data/docs/GroupRoleResponse.md +1 -3
  35. data/docs/GroupsApi.md +59 -63
  36. data/docs/GroupsRolesApi.md +27 -33
  37. data/docs/GroupsUsersApi.md +16 -16
  38. data/docs/ImportersPulpApi.md +33 -37
  39. data/docs/ImportersPulpImportCheckApi.md +1 -1
  40. data/docs/ImportersPulpImportsApi.md +21 -21
  41. data/docs/OrphansApi.md +6 -6
  42. data/docs/OrphansCleanupApi.md +6 -6
  43. data/docs/PatchedFilesystemExporter.md +1 -1
  44. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  45. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  46. data/docs/PatchedcontainerContainerRemote.md +1 -1
  47. data/docs/PatchedcontainerContainerRepository.md +1 -1
  48. data/docs/PublicationsApi.md +9 -15
  49. data/docs/PulpContainerNamespacesApi.md +43 -47
  50. data/docs/RemoteResponse.md +1 -1
  51. data/docs/RemoteResponseHiddenFields.md +2 -2
  52. data/docs/RemotesApi.md +8 -14
  53. data/docs/RemotesContainerApi.md +53 -57
  54. data/docs/RepairApi.md +6 -6
  55. data/docs/RepositoriesApi.md +8 -30
  56. data/docs/RepositoriesContainerApi.md +102 -122
  57. data/docs/RepositoriesContainerPushApi.md +68 -88
  58. data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
  59. data/docs/RepositoriesContainerVersionsApi.md +23 -25
  60. data/docs/RepositoriesReclaimSpaceApi.md +6 -6
  61. data/docs/RepositoryResponse.md +1 -1
  62. data/docs/RepositoryVersionsApi.md +8 -12
  63. data/docs/RolesApi.md +39 -43
  64. data/docs/SigningServicesApi.md +13 -17
  65. data/docs/StatusApi.md +1 -1
  66. data/docs/StatusResponse.md +1 -3
  67. data/docs/TaskGroupsApi.md +11 -11
  68. data/docs/TaskSchedulesApi.md +35 -39
  69. data/docs/TasksApi.md +101 -105
  70. data/docs/TokenApi.md +6 -6
  71. data/docs/UploadsApi.md +53 -57
  72. data/docs/UserRole.md +2 -4
  73. data/docs/UserRoleResponse.md +2 -4
  74. data/docs/UsersApi.md +39 -43
  75. data/docs/UsersRolesApi.md +27 -33
  76. data/docs/VersionResponse.md +1 -3
  77. data/docs/WorkersApi.md +13 -17
  78. data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
  79. data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
  80. data/lib/pulp_container_client/api/content_api.rb +7 -20
  81. data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
  82. data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
  83. data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
  84. data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
  85. data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
  86. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
  87. data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
  88. data/lib/pulp_container_client/api/distributions_api.rb +7 -26
  89. data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
  90. data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
  91. data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
  92. data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
  93. data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
  94. data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
  95. data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
  96. data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
  97. data/lib/pulp_container_client/api/groups_api.rb +77 -83
  98. data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
  99. data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
  100. data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
  101. data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
  102. data/lib/pulp_container_client/api/orphans_api.rb +5 -5
  103. data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
  104. data/lib/pulp_container_client/api/publications_api.rb +9 -18
  105. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
  106. data/lib/pulp_container_client/api/remotes_api.rb +7 -20
  107. data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
  108. data/lib/pulp_container_client/api/repair_api.rb +6 -6
  109. data/lib/pulp_container_client/api/repositories_api.rb +7 -44
  110. data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
  111. data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
  112. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
  113. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
  114. data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
  115. data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
  116. data/lib/pulp_container_client/api/roles_api.rb +51 -57
  117. data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
  118. data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
  119. data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
  120. data/lib/pulp_container_client/api/tasks_api.rb +125 -131
  121. data/lib/pulp_container_client/api/token_api.rb +5 -5
  122. data/lib/pulp_container_client/api/uploads_api.rb +67 -73
  123. data/lib/pulp_container_client/api/users_api.rb +51 -57
  124. data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
  125. data/lib/pulp_container_client/api/workers_api.rb +14 -20
  126. data/lib/pulp_container_client/configuration.rb +3 -3
  127. data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
  128. data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
  129. data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
  130. data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
  131. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
  132. data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
  133. data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
  134. data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
  135. data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
  136. data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
  137. data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
  138. data/lib/pulp_container_client/models/group_role.rb +5 -16
  139. data/lib/pulp_container_client/models/group_role_response.rb +4 -15
  140. data/lib/pulp_container_client/models/nested_role.rb +0 -19
  141. data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
  142. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
  143. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
  144. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
  145. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
  146. data/lib/pulp_container_client/models/remote_response.rb +21 -21
  147. data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
  148. data/lib/pulp_container_client/models/repository_response.rb +1 -1
  149. data/lib/pulp_container_client/models/status_response.rb +4 -19
  150. data/lib/pulp_container_client/models/user_role.rb +6 -17
  151. data/lib/pulp_container_client/models/user_role_response.rb +5 -16
  152. data/lib/pulp_container_client/models/version_response.rb +4 -19
  153. data/lib/pulp_container_client/version.rb +1 -1
  154. data/lib/pulp_container_client.rb +0 -11
  155. data/spec/api/access_policies_api_spec.rb +11 -13
  156. data/spec/api/artifacts_api_spec.rb +9 -11
  157. data/spec/api/content_api_spec.rb +3 -6
  158. data/spec/api/content_blobs_api_spec.rb +5 -7
  159. data/spec/api/content_manifests_api_spec.rb +6 -8
  160. data/spec/api/content_signatures_api_spec.rb +5 -7
  161. data/spec/api/content_tags_api_spec.rb +6 -8
  162. data/spec/api/contentguards_api_spec.rb +3 -6
  163. data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
  164. data/spec/api/contentguards_rbac_api_spec.rb +21 -23
  165. data/spec/api/distributions_api_spec.rb +3 -8
  166. data/spec/api/distributions_artifacts_api_spec.rb +5 -9
  167. data/spec/api/distributions_container_api_spec.rb +21 -25
  168. data/spec/api/docs_api_json_api_spec.rb +2 -2
  169. data/spec/api/docs_api_yaml_api_spec.rb +2 -2
  170. data/spec/api/exporters_filesystem_api_spec.rb +16 -18
  171. data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
  172. data/spec/api/exporters_pulp_api_spec.rb +13 -15
  173. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  174. data/spec/api/groups_api_spec.rb +27 -29
  175. data/spec/api/groups_roles_api_spec.rb +13 -16
  176. data/spec/api/groups_users_api_spec.rb +6 -6
  177. data/spec/api/importers_pulp_api_spec.rb +13 -15
  178. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  179. data/spec/api/orphans_api_spec.rb +2 -2
  180. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  181. data/spec/api/publications_api_spec.rb +4 -7
  182. data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
  183. data/spec/api/remotes_api_spec.rb +3 -6
  184. data/spec/api/remotes_container_api_spec.rb +21 -23
  185. data/spec/api/repair_api_spec.rb +2 -2
  186. data/spec/api/repositories_api_spec.rb +3 -14
  187. data/spec/api/repositories_container_api_spec.rb +39 -49
  188. data/spec/api/repositories_container_push_api_spec.rb +27 -37
  189. data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
  190. data/spec/api/repositories_container_versions_api_spec.rb +9 -10
  191. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  192. data/spec/api/repository_versions_api_spec.rb +3 -5
  193. data/spec/api/roles_api_spec.rb +19 -21
  194. data/spec/api/signing_services_api_spec.rb +5 -7
  195. data/spec/api/task_groups_api_spec.rb +4 -4
  196. data/spec/api/task_schedules_api_spec.rb +15 -17
  197. data/spec/api/tasks_api_spec.rb +32 -34
  198. data/spec/api/token_api_spec.rb +2 -2
  199. data/spec/api/uploads_api_spec.rb +21 -23
  200. data/spec/api/users_api_spec.rb +19 -21
  201. data/spec/api/users_roles_api_spec.rb +13 -16
  202. data/spec/api/workers_api_spec.rb +5 -7
  203. data/spec/configuration_spec.rb +3 -3
  204. data/spec/models/artifact_distribution_response_spec.rb +7 -7
  205. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  206. data/spec/models/container_container_distribution_spec.rb +4 -4
  207. data/spec/models/container_container_push_repository_response_spec.rb +6 -6
  208. data/spec/models/container_container_push_repository_spec.rb +4 -4
  209. data/spec/models/group_role_response_spec.rb +0 -6
  210. data/spec/models/group_role_spec.rb +0 -6
  211. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  212. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  213. data/spec/models/status_response_spec.rb +0 -6
  214. data/spec/models/user_role_response_spec.rb +0 -6
  215. data/spec/models/user_role_spec.rb +0 -6
  216. data/spec/models/version_response_spec.rb +0 -6
  217. metadata +196 -240
  218. data/docs/Domain.md +0 -27
  219. data/docs/DomainResponse.md +0 -31
  220. data/docs/DomainsApi.md +0 -366
  221. data/docs/PaginatedDomainResponseList.md +0 -23
  222. data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
  223. data/docs/PatchedDomain.md +0 -27
  224. data/docs/PatchedUpstreamPulp.md +0 -37
  225. data/docs/StorageClassEnum.md +0 -16
  226. data/docs/UpstreamPulp.md +0 -37
  227. data/docs/UpstreamPulpResponse.md +0 -39
  228. data/docs/UpstreamPulpsApi.md +0 -405
  229. data/lib/pulp_container_client/api/domains_api.rb +0 -452
  230. data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
  231. data/lib/pulp_container_client/models/domain.rb +0 -323
  232. data/lib/pulp_container_client/models/domain_response.rb +0 -318
  233. data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
  234. data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
  235. data/lib/pulp_container_client/models/patched_domain.rb +0 -304
  236. data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
  237. data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
  238. data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
  239. data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
  240. data/spec/api/domains_api_spec.rb +0 -122
  241. data/spec/api/upstream_pulps_api_spec.rb +0 -127
  242. data/spec/models/domain_response_spec.rb +0 -83
  243. data/spec/models/domain_spec.rb +0 -71
  244. data/spec/models/paginated_domain_response_list_spec.rb +0 -59
  245. data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
  246. data/spec/models/patched_domain_spec.rb +0 -71
  247. data/spec/models/patched_upstream_pulp_spec.rb +0 -101
  248. data/spec/models/storage_class_enum_spec.rb +0 -35
  249. data/spec/models/upstream_pulp_response_spec.rb +0 -107
  250. data/spec/models/upstream_pulp_spec.rb +0 -101
@@ -24,8 +24,8 @@ module PulpContainerClient
24
24
  # @param nested_role [NestedRole]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [NestedRoleResponse]
27
- def add_role(task_href, nested_role, opts = {})
28
- data, _status_code, _headers = add_role_with_http_info(task_href, nested_role, opts)
27
+ def tasks_add_role(task_href, nested_role, opts = {})
28
+ data, _status_code, _headers = tasks_add_role_with_http_info(task_href, nested_role, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,17 +34,17 @@ module PulpContainerClient
34
34
  # @param nested_role [NestedRole]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
37
- def add_role_with_http_info(task_href, nested_role, opts = {})
37
+ def tasks_add_role_with_http_info(task_href, nested_role, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: TasksApi.add_role ...'
39
+ @api_client.config.logger.debug 'Calling API: TasksApi.tasks_add_role ...'
40
40
  end
41
41
  # verify the required parameter 'task_href' is set
42
42
  if @api_client.config.client_side_validation && task_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.add_role"
43
+ fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_add_role"
44
44
  end
45
45
  # verify the required parameter 'nested_role' is set
46
46
  if @api_client.config.client_side_validation && nested_role.nil?
47
- fail ArgumentError, "Missing the required parameter 'nested_role' when calling TasksApi.add_role"
47
+ fail ArgumentError, "Missing the required parameter 'nested_role' when calling TasksApi.tasks_add_role"
48
48
  end
49
49
  # resource path
50
50
  local_var_path = '{task_href}add_role/'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
@@ -82,7 +82,77 @@ module PulpContainerClient
82
82
 
83
83
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
84
84
  if @api_client.config.debugging
85
- @api_client.config.logger.debug "API called: TasksApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ @api_client.config.logger.debug "API called: TasksApi#tasks_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
+ end
87
+ return data, status_code, headers
88
+ end
89
+
90
+ # Cancel a task
91
+ # This operation cancels a task.
92
+ # @param task_href [String]
93
+ # @param patched_task_cancel [PatchedTaskCancel]
94
+ # @param [Hash] opts the optional parameters
95
+ # @return [TaskResponse]
96
+ def tasks_cancel(task_href, patched_task_cancel, opts = {})
97
+ data, _status_code, _headers = tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
98
+ data
99
+ end
100
+
101
+ # Cancel a task
102
+ # This operation cancels a task.
103
+ # @param task_href [String]
104
+ # @param patched_task_cancel [PatchedTaskCancel]
105
+ # @param [Hash] opts the optional parameters
106
+ # @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
107
+ def tasks_cancel_with_http_info(task_href, patched_task_cancel, opts = {})
108
+ if @api_client.config.debugging
109
+ @api_client.config.logger.debug 'Calling API: TasksApi.tasks_cancel ...'
110
+ end
111
+ # verify the required parameter 'task_href' is set
112
+ if @api_client.config.client_side_validation && task_href.nil?
113
+ fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_cancel"
114
+ end
115
+ # verify the required parameter 'patched_task_cancel' is set
116
+ if @api_client.config.client_side_validation && patched_task_cancel.nil?
117
+ fail ArgumentError, "Missing the required parameter 'patched_task_cancel' when calling TasksApi.tasks_cancel"
118
+ end
119
+ # resource path
120
+ local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
121
+
122
+ # query parameters
123
+ query_params = opts[:query_params] || {}
124
+
125
+ # header parameters
126
+ header_params = opts[:header_params] || {}
127
+ # HTTP header 'Accept' (if needed)
128
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
129
+ # HTTP header 'Content-Type'
130
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
131
+
132
+ # form parameters
133
+ form_params = opts[:form_params] || {}
134
+
135
+ # http body (model)
136
+ post_body = opts[:body] || @api_client.object_to_http_body(patched_task_cancel)
137
+
138
+ # return_type
139
+ return_type = opts[:return_type] || 'TaskResponse'
140
+
141
+ # auth_names
142
+ auth_names = opts[:auth_names] || ['basicAuth']
143
+
144
+ new_options = opts.merge(
145
+ :header_params => header_params,
146
+ :query_params => query_params,
147
+ :form_params => form_params,
148
+ :body => post_body,
149
+ :auth_names => auth_names,
150
+ :return_type => return_type
151
+ )
152
+
153
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
154
+ if @api_client.config.debugging
155
+ @api_client.config.logger.debug "API called: TasksApi#tasks_cancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
156
  end
87
157
  return data, status_code, headers
88
158
  end
@@ -92,8 +162,8 @@ module PulpContainerClient
92
162
  # @param task_href [String]
93
163
  # @param [Hash] opts the optional parameters
94
164
  # @return [nil]
95
- def delete(task_href, opts = {})
96
- delete_with_http_info(task_href, opts)
165
+ def tasks_delete(task_href, opts = {})
166
+ tasks_delete_with_http_info(task_href, opts)
97
167
  nil
98
168
  end
99
169
 
@@ -102,13 +172,13 @@ module PulpContainerClient
102
172
  # @param task_href [String]
103
173
  # @param [Hash] opts the optional parameters
104
174
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
105
- def delete_with_http_info(task_href, opts = {})
175
+ def tasks_delete_with_http_info(task_href, opts = {})
106
176
  if @api_client.config.debugging
107
- @api_client.config.logger.debug 'Calling API: TasksApi.delete ...'
177
+ @api_client.config.logger.debug 'Calling API: TasksApi.tasks_delete ...'
108
178
  end
109
179
  # verify the required parameter 'task_href' is set
110
180
  if @api_client.config.client_side_validation && task_href.nil?
111
- fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.delete"
181
+ fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_delete"
112
182
  end
113
183
  # resource path
114
184
  local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
@@ -142,7 +212,7 @@ module PulpContainerClient
142
212
 
143
213
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
144
214
  if @api_client.config.debugging
145
- @api_client.config.logger.debug "API called: TasksApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
215
+ @api_client.config.logger.debug "API called: TasksApi#tasks_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
146
216
  end
147
217
  return data, status_code, headers
148
218
  end
@@ -167,10 +237,8 @@ module PulpContainerClient
167
237
  # @option opts [String] :name__contains Filter results where name contains value
168
238
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
169
239
  # @option opts [Integer] :offset The initial index from which to return the results.
170
- # @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;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;args&#x60; - Args * &#x60;-args&#x60; - Args (descending) * &#x60;kwargs&#x60; - Kwargs * &#x60;-kwargs&#x60; - Kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
240
+ # @option opts [Array<String>] :ordering Ordering
171
241
  # @option opts [String] :parent_task Filter results where parent_task matches value
172
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
173
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
174
242
  # @option opts [String] :reserved_resources
175
243
  # @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
176
244
  # @option opts [Array<String>] :reserved_resources_record
@@ -182,7 +250,7 @@ module PulpContainerClient
182
250
  # @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
183
251
  # @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
184
252
  # @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
185
- # @option opts [String] :state Filter results where state matches value * &#x60;waiting&#x60; - Waiting * &#x60;skipped&#x60; - Skipped * &#x60;running&#x60; - Running * &#x60;completed&#x60; - Completed * &#x60;failed&#x60; - Failed * &#x60;canceled&#x60; - Canceled * &#x60;canceling&#x60; - Canceling
253
+ # @option opts [String] :state Filter results where state matches value
186
254
  # @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
187
255
  # @option opts [String] :task_group Filter results where task_group matches value
188
256
  # @option opts [String] :worker Filter results where worker matches value
@@ -190,8 +258,8 @@ module PulpContainerClient
190
258
  # @option opts [Array<String>] :fields A list of fields to include in the response.
191
259
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
192
260
  # @return [PaginatedTaskResponseList]
193
- def list(opts = {})
194
- data, _status_code, _headers = list_with_http_info(opts)
261
+ def tasks_list(opts = {})
262
+ data, _status_code, _headers = tasks_list_with_http_info(opts)
195
263
  data
196
264
  end
197
265
 
@@ -215,10 +283,8 @@ module PulpContainerClient
215
283
  # @option opts [String] :name__contains Filter results where name contains value
216
284
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
217
285
  # @option opts [Integer] :offset The initial index from which to return the results.
218
- # @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;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;args&#x60; - Args * &#x60;-args&#x60; - Args (descending) * &#x60;kwargs&#x60; - Kwargs * &#x60;-kwargs&#x60; - Kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
286
+ # @option opts [Array<String>] :ordering Ordering
219
287
  # @option opts [String] :parent_task Filter results where parent_task matches value
220
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
221
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
222
288
  # @option opts [String] :reserved_resources
223
289
  # @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
224
290
  # @option opts [Array<String>] :reserved_resources_record
@@ -230,7 +296,7 @@ module PulpContainerClient
230
296
  # @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
231
297
  # @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
232
298
  # @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
233
- # @option opts [String] :state Filter results where state matches value * &#x60;waiting&#x60; - Waiting * &#x60;skipped&#x60; - Skipped * &#x60;running&#x60; - Running * &#x60;completed&#x60; - Completed * &#x60;failed&#x60; - Failed * &#x60;canceled&#x60; - Canceled * &#x60;canceling&#x60; - Canceling
299
+ # @option opts [String] :state Filter results where state matches value
234
300
  # @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
235
301
  # @option opts [String] :task_group Filter results where task_group matches value
236
302
  # @option opts [String] :worker Filter results where worker matches value
@@ -238,9 +304,9 @@ module PulpContainerClient
238
304
  # @option opts [Array<String>] :fields A list of fields to include in the response.
239
305
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
240
306
  # @return [Array<(PaginatedTaskResponseList, Integer, Hash)>] PaginatedTaskResponseList data, response status code and response headers
241
- def list_with_http_info(opts = {})
307
+ def tasks_list_with_http_info(opts = {})
242
308
  if @api_client.config.debugging
243
- @api_client.config.logger.debug 'Calling API: TasksApi.list ...'
309
+ @api_client.config.logger.debug 'Calling API: TasksApi.tasks_list ...'
244
310
  end
245
311
  allowable_values = ["-args", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "args", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state"]
246
312
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -274,8 +340,6 @@ module PulpContainerClient
274
340
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
275
341
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
276
342
  query_params[:'parent_task'] = opts[:'parent_task'] if !opts[:'parent_task'].nil?
277
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
278
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
279
343
  query_params[:'reserved_resources'] = opts[:'reserved_resources'] if !opts[:'reserved_resources'].nil?
280
344
  query_params[:'reserved_resources__in'] = @api_client.build_collection_param(opts[:'reserved_resources__in'], :csv) if !opts[:'reserved_resources__in'].nil?
281
345
  query_params[:'reserved_resources_record'] = @api_client.build_collection_param(opts[:'reserved_resources_record'], :multi) if !opts[:'reserved_resources_record'].nil?
@@ -323,7 +387,7 @@ module PulpContainerClient
323
387
 
324
388
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
325
389
  if @api_client.config.debugging
326
- @api_client.config.logger.debug "API called: TasksApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
390
+ @api_client.config.logger.debug "API called: TasksApi#tasks_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
327
391
  end
328
392
  return data, status_code, headers
329
393
  end
@@ -334,8 +398,8 @@ module PulpContainerClient
334
398
  # @option opts [Array<String>] :fields A list of fields to include in the response.
335
399
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
336
400
  # @return [ObjectRolesResponse]
337
- def list_roles(task_href, opts = {})
338
- data, _status_code, _headers = list_roles_with_http_info(task_href, opts)
401
+ def tasks_list_roles(task_href, opts = {})
402
+ data, _status_code, _headers = tasks_list_roles_with_http_info(task_href, opts)
339
403
  data
340
404
  end
341
405
 
@@ -345,13 +409,13 @@ module PulpContainerClient
345
409
  # @option opts [Array<String>] :fields A list of fields to include in the response.
346
410
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
347
411
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
348
- def list_roles_with_http_info(task_href, opts = {})
412
+ def tasks_list_roles_with_http_info(task_href, opts = {})
349
413
  if @api_client.config.debugging
350
- @api_client.config.logger.debug 'Calling API: TasksApi.list_roles ...'
414
+ @api_client.config.logger.debug 'Calling API: TasksApi.tasks_list_roles ...'
351
415
  end
352
416
  # verify the required parameter 'task_href' is set
353
417
  if @api_client.config.client_side_validation && task_href.nil?
354
- fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.list_roles"
418
+ fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_list_roles"
355
419
  end
356
420
  # resource path
357
421
  local_var_path = '{task_href}list_roles/'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
@@ -389,7 +453,7 @@ module PulpContainerClient
389
453
 
390
454
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
391
455
  if @api_client.config.debugging
392
- @api_client.config.logger.debug "API called: TasksApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
456
+ @api_client.config.logger.debug "API called: TasksApi#tasks_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
393
457
  end
394
458
  return data, status_code, headers
395
459
  end
@@ -400,8 +464,8 @@ module PulpContainerClient
400
464
  # @option opts [Array<String>] :fields A list of fields to include in the response.
401
465
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
402
466
  # @return [MyPermissionsResponse]
403
- def my_permissions(task_href, opts = {})
404
- data, _status_code, _headers = my_permissions_with_http_info(task_href, opts)
467
+ def tasks_my_permissions(task_href, opts = {})
468
+ data, _status_code, _headers = tasks_my_permissions_with_http_info(task_href, opts)
405
469
  data
406
470
  end
407
471
 
@@ -411,13 +475,13 @@ module PulpContainerClient
411
475
  # @option opts [Array<String>] :fields A list of fields to include in the response.
412
476
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
413
477
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
414
- def my_permissions_with_http_info(task_href, opts = {})
478
+ def tasks_my_permissions_with_http_info(task_href, opts = {})
415
479
  if @api_client.config.debugging
416
- @api_client.config.logger.debug 'Calling API: TasksApi.my_permissions ...'
480
+ @api_client.config.logger.debug 'Calling API: TasksApi.tasks_my_permissions ...'
417
481
  end
418
482
  # verify the required parameter 'task_href' is set
419
483
  if @api_client.config.client_side_validation && task_href.nil?
420
- fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.my_permissions"
484
+ fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_my_permissions"
421
485
  end
422
486
  # resource path
423
487
  local_var_path = '{task_href}my_permissions/'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
@@ -455,33 +519,33 @@ module PulpContainerClient
455
519
 
456
520
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
457
521
  if @api_client.config.debugging
458
- @api_client.config.logger.debug "API called: TasksApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
522
+ @api_client.config.logger.debug "API called: TasksApi#tasks_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
459
523
  end
460
524
  return data, status_code, headers
461
525
  end
462
526
 
463
527
  # Purge Completed Tasks
464
- # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
528
+ # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp (tech-preview, may change in the future).
465
529
  # @param purge [Purge]
466
530
  # @param [Hash] opts the optional parameters
467
531
  # @return [AsyncOperationResponse]
468
- def purge(purge, opts = {})
469
- data, _status_code, _headers = purge_with_http_info(purge, opts)
532
+ def tasks_purge(purge, opts = {})
533
+ data, _status_code, _headers = tasks_purge_with_http_info(purge, opts)
470
534
  data
471
535
  end
472
536
 
473
537
  # Purge Completed Tasks
474
- # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
538
+ # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp (tech-preview, may change in the future).
475
539
  # @param purge [Purge]
476
540
  # @param [Hash] opts the optional parameters
477
541
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
478
- def purge_with_http_info(purge, opts = {})
542
+ def tasks_purge_with_http_info(purge, opts = {})
479
543
  if @api_client.config.debugging
480
- @api_client.config.logger.debug 'Calling API: TasksApi.purge ...'
544
+ @api_client.config.logger.debug 'Calling API: TasksApi.tasks_purge ...'
481
545
  end
482
546
  # verify the required parameter 'purge' is set
483
547
  if @api_client.config.client_side_validation && purge.nil?
484
- fail ArgumentError, "Missing the required parameter 'purge' when calling TasksApi.purge"
548
+ fail ArgumentError, "Missing the required parameter 'purge' when calling TasksApi.tasks_purge"
485
549
  end
486
550
  # resource path
487
551
  local_var_path = '/pulp/api/v3/tasks/purge/'
@@ -519,7 +583,7 @@ module PulpContainerClient
519
583
 
520
584
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
521
585
  if @api_client.config.debugging
522
- @api_client.config.logger.debug "API called: TasksApi#purge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
586
+ @api_client.config.logger.debug "API called: TasksApi#tasks_purge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
523
587
  end
524
588
  return data, status_code, headers
525
589
  end
@@ -531,8 +595,8 @@ module PulpContainerClient
531
595
  # @option opts [Array<String>] :fields A list of fields to include in the response.
532
596
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
533
597
  # @return [TaskResponse]
534
- def read(task_href, opts = {})
535
- data, _status_code, _headers = read_with_http_info(task_href, opts)
598
+ def tasks_read(task_href, opts = {})
599
+ data, _status_code, _headers = tasks_read_with_http_info(task_href, opts)
536
600
  data
537
601
  end
538
602
 
@@ -543,13 +607,13 @@ module PulpContainerClient
543
607
  # @option opts [Array<String>] :fields A list of fields to include in the response.
544
608
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
545
609
  # @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
546
- def read_with_http_info(task_href, opts = {})
610
+ def tasks_read_with_http_info(task_href, opts = {})
547
611
  if @api_client.config.debugging
548
- @api_client.config.logger.debug 'Calling API: TasksApi.read ...'
612
+ @api_client.config.logger.debug 'Calling API: TasksApi.tasks_read ...'
549
613
  end
550
614
  # verify the required parameter 'task_href' is set
551
615
  if @api_client.config.client_side_validation && task_href.nil?
552
- fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.read"
616
+ fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_read"
553
617
  end
554
618
  # resource path
555
619
  local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
@@ -587,7 +651,7 @@ module PulpContainerClient
587
651
 
588
652
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
589
653
  if @api_client.config.debugging
590
- @api_client.config.logger.debug "API called: TasksApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
654
+ @api_client.config.logger.debug "API called: TasksApi#tasks_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
591
655
  end
592
656
  return data, status_code, headers
593
657
  end
@@ -597,8 +661,8 @@ module PulpContainerClient
597
661
  # @param nested_role [NestedRole]
598
662
  # @param [Hash] opts the optional parameters
599
663
  # @return [NestedRoleResponse]
600
- def remove_role(task_href, nested_role, opts = {})
601
- data, _status_code, _headers = remove_role_with_http_info(task_href, nested_role, opts)
664
+ def tasks_remove_role(task_href, nested_role, opts = {})
665
+ data, _status_code, _headers = tasks_remove_role_with_http_info(task_href, nested_role, opts)
602
666
  data
603
667
  end
604
668
 
@@ -607,17 +671,17 @@ module PulpContainerClient
607
671
  # @param nested_role [NestedRole]
608
672
  # @param [Hash] opts the optional parameters
609
673
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
610
- def remove_role_with_http_info(task_href, nested_role, opts = {})
674
+ def tasks_remove_role_with_http_info(task_href, nested_role, opts = {})
611
675
  if @api_client.config.debugging
612
- @api_client.config.logger.debug 'Calling API: TasksApi.remove_role ...'
676
+ @api_client.config.logger.debug 'Calling API: TasksApi.tasks_remove_role ...'
613
677
  end
614
678
  # verify the required parameter 'task_href' is set
615
679
  if @api_client.config.client_side_validation && task_href.nil?
616
- fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.remove_role"
680
+ fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_remove_role"
617
681
  end
618
682
  # verify the required parameter 'nested_role' is set
619
683
  if @api_client.config.client_side_validation && nested_role.nil?
620
- fail ArgumentError, "Missing the required parameter 'nested_role' when calling TasksApi.remove_role"
684
+ fail ArgumentError, "Missing the required parameter 'nested_role' when calling TasksApi.tasks_remove_role"
621
685
  end
622
686
  # resource path
623
687
  local_var_path = '{task_href}remove_role/'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
@@ -655,77 +719,7 @@ module PulpContainerClient
655
719
 
656
720
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
657
721
  if @api_client.config.debugging
658
- @api_client.config.logger.debug "API called: TasksApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
659
- end
660
- return data, status_code, headers
661
- end
662
-
663
- # Cancel a task
664
- # This operation cancels a task.
665
- # @param task_href [String]
666
- # @param patched_task_cancel [PatchedTaskCancel]
667
- # @param [Hash] opts the optional parameters
668
- # @return [TaskResponse]
669
- def tasks_cancel(task_href, patched_task_cancel, opts = {})
670
- data, _status_code, _headers = tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
671
- data
672
- end
673
-
674
- # Cancel a task
675
- # This operation cancels a task.
676
- # @param task_href [String]
677
- # @param patched_task_cancel [PatchedTaskCancel]
678
- # @param [Hash] opts the optional parameters
679
- # @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
680
- def tasks_cancel_with_http_info(task_href, patched_task_cancel, opts = {})
681
- if @api_client.config.debugging
682
- @api_client.config.logger.debug 'Calling API: TasksApi.tasks_cancel ...'
683
- end
684
- # verify the required parameter 'task_href' is set
685
- if @api_client.config.client_side_validation && task_href.nil?
686
- fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.tasks_cancel"
687
- end
688
- # verify the required parameter 'patched_task_cancel' is set
689
- if @api_client.config.client_side_validation && patched_task_cancel.nil?
690
- fail ArgumentError, "Missing the required parameter 'patched_task_cancel' when calling TasksApi.tasks_cancel"
691
- end
692
- # resource path
693
- local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
694
-
695
- # query parameters
696
- query_params = opts[:query_params] || {}
697
-
698
- # header parameters
699
- header_params = opts[:header_params] || {}
700
- # HTTP header 'Accept' (if needed)
701
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
702
- # HTTP header 'Content-Type'
703
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
704
-
705
- # form parameters
706
- form_params = opts[:form_params] || {}
707
-
708
- # http body (model)
709
- post_body = opts[:body] || @api_client.object_to_http_body(patched_task_cancel)
710
-
711
- # return_type
712
- return_type = opts[:return_type] || 'TaskResponse'
713
-
714
- # auth_names
715
- auth_names = opts[:auth_names] || ['basicAuth']
716
-
717
- new_options = opts.merge(
718
- :header_params => header_params,
719
- :query_params => query_params,
720
- :form_params => form_params,
721
- :body => post_body,
722
- :auth_names => auth_names,
723
- :return_type => return_type
724
- )
725
-
726
- data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
727
- if @api_client.config.debugging
728
- @api_client.config.logger.debug "API called: TasksApi#tasks_cancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
722
+ @api_client.config.logger.debug "API called: TasksApi#tasks_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
729
723
  end
730
724
  return data, status_code, headers
731
725
  end
@@ -22,17 +22,17 @@ module PulpContainerClient
22
22
  # Handles GET requests for the /token/ endpoint.
23
23
  # @param [Hash] opts the optional parameters
24
24
  # @return [nil]
25
- def get(opts = {})
26
- get_with_http_info(opts)
25
+ def token_get(opts = {})
26
+ token_get_with_http_info(opts)
27
27
  nil
28
28
  end
29
29
 
30
30
  # Handles GET requests for the /token/ endpoint.
31
31
  # @param [Hash] opts the optional parameters
32
32
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
33
- def get_with_http_info(opts = {})
33
+ def token_get_with_http_info(opts = {})
34
34
  if @api_client.config.debugging
35
- @api_client.config.logger.debug 'Calling API: TokenApi.get ...'
35
+ @api_client.config.logger.debug 'Calling API: TokenApi.token_get ...'
36
36
  end
37
37
  # resource path
38
38
  local_var_path = '/token/'
@@ -66,7 +66,7 @@ module PulpContainerClient
66
66
 
67
67
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
68
68
  if @api_client.config.debugging
69
- @api_client.config.logger.debug "API called: TokenApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
69
+ @api_client.config.logger.debug "API called: TokenApi#token_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
70
70
  end
71
71
  return data, status_code, headers
72
72
  end