pulp_container_client 2.14.14 → 2.14.16

Sign up to get free protection for your applications and to get access to all the features.
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 upload [Upload]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [NestedRoleResponse]
27
- def add_role(upload_href, upload, opts = {})
28
- data, _status_code, _headers = add_role_with_http_info(upload_href, upload, opts)
27
+ def uploads_add_role(upload_href, upload, opts = {})
28
+ data, _status_code, _headers = uploads_add_role_with_http_info(upload_href, upload, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,17 +34,17 @@ module PulpContainerClient
34
34
  # @param upload [Upload]
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(upload_href, upload, opts = {})
37
+ def uploads_add_role_with_http_info(upload_href, upload, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: UploadsApi.add_role ...'
39
+ @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_add_role ...'
40
40
  end
41
41
  # verify the required parameter 'upload_href' is set
42
42
  if @api_client.config.client_side_validation && upload_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.add_role"
43
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_add_role"
44
44
  end
45
45
  # verify the required parameter 'upload' is set
46
46
  if @api_client.config.client_side_validation && upload.nil?
47
- fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.add_role"
47
+ fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_add_role"
48
48
  end
49
49
  # resource path
50
50
  local_var_path = '{upload_href}add_role/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -82,7 +82,7 @@ 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: UploadsApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ @api_client.config.logger.debug "API called: UploadsApi#uploads_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
86
  end
87
87
  return data, status_code, headers
88
88
  end
@@ -93,8 +93,8 @@ module PulpContainerClient
93
93
  # @param upload_commit [UploadCommit]
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @return [AsyncOperationResponse]
96
- def commit(upload_href, upload_commit, opts = {})
97
- data, _status_code, _headers = commit_with_http_info(upload_href, upload_commit, opts)
96
+ def uploads_commit(upload_href, upload_commit, opts = {})
97
+ data, _status_code, _headers = uploads_commit_with_http_info(upload_href, upload_commit, opts)
98
98
  data
99
99
  end
100
100
 
@@ -104,17 +104,17 @@ module PulpContainerClient
104
104
  # @param upload_commit [UploadCommit]
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
107
- def commit_with_http_info(upload_href, upload_commit, opts = {})
107
+ def uploads_commit_with_http_info(upload_href, upload_commit, opts = {})
108
108
  if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: UploadsApi.commit ...'
109
+ @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_commit ...'
110
110
  end
111
111
  # verify the required parameter 'upload_href' is set
112
112
  if @api_client.config.client_side_validation && upload_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.commit"
113
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_commit"
114
114
  end
115
115
  # verify the required parameter 'upload_commit' is set
116
116
  if @api_client.config.client_side_validation && upload_commit.nil?
117
- fail ArgumentError, "Missing the required parameter 'upload_commit' when calling UploadsApi.commit"
117
+ fail ArgumentError, "Missing the required parameter 'upload_commit' when calling UploadsApi.uploads_commit"
118
118
  end
119
119
  # resource path
120
120
  local_var_path = '{upload_href}commit/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -152,7 +152,7 @@ module PulpContainerClient
152
152
 
153
153
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
154
154
  if @api_client.config.debugging
155
- @api_client.config.logger.debug "API called: UploadsApi#commit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
155
+ @api_client.config.logger.debug "API called: UploadsApi#uploads_commit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
156
156
  end
157
157
  return data, status_code, headers
158
158
  end
@@ -162,8 +162,8 @@ module PulpContainerClient
162
162
  # @param upload [Upload]
163
163
  # @param [Hash] opts the optional parameters
164
164
  # @return [UploadResponse]
165
- def create(upload, opts = {})
166
- data, _status_code, _headers = create_with_http_info(upload, opts)
165
+ def uploads_create(upload, opts = {})
166
+ data, _status_code, _headers = uploads_create_with_http_info(upload, opts)
167
167
  data
168
168
  end
169
169
 
@@ -172,13 +172,13 @@ module PulpContainerClient
172
172
  # @param upload [Upload]
173
173
  # @param [Hash] opts the optional parameters
174
174
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
175
- def create_with_http_info(upload, opts = {})
175
+ def uploads_create_with_http_info(upload, opts = {})
176
176
  if @api_client.config.debugging
177
- @api_client.config.logger.debug 'Calling API: UploadsApi.create ...'
177
+ @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_create ...'
178
178
  end
179
179
  # verify the required parameter 'upload' is set
180
180
  if @api_client.config.client_side_validation && upload.nil?
181
- fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.create"
181
+ fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_create"
182
182
  end
183
183
  # resource path
184
184
  local_var_path = '/pulp/api/v3/uploads/'
@@ -216,7 +216,7 @@ module PulpContainerClient
216
216
 
217
217
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
218
218
  if @api_client.config.debugging
219
- @api_client.config.logger.debug "API called: UploadsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
219
+ @api_client.config.logger.debug "API called: UploadsApi#uploads_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
220
220
  end
221
221
  return data, status_code, headers
222
222
  end
@@ -226,8 +226,8 @@ module PulpContainerClient
226
226
  # @param upload_href [String]
227
227
  # @param [Hash] opts the optional parameters
228
228
  # @return [nil]
229
- def delete(upload_href, opts = {})
230
- delete_with_http_info(upload_href, opts)
229
+ def uploads_delete(upload_href, opts = {})
230
+ uploads_delete_with_http_info(upload_href, opts)
231
231
  nil
232
232
  end
233
233
 
@@ -236,13 +236,13 @@ module PulpContainerClient
236
236
  # @param upload_href [String]
237
237
  # @param [Hash] opts the optional parameters
238
238
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
239
- def delete_with_http_info(upload_href, opts = {})
239
+ def uploads_delete_with_http_info(upload_href, opts = {})
240
240
  if @api_client.config.debugging
241
- @api_client.config.logger.debug 'Calling API: UploadsApi.delete ...'
241
+ @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_delete ...'
242
242
  end
243
243
  # verify the required parameter 'upload_href' is set
244
244
  if @api_client.config.client_side_validation && upload_href.nil?
245
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.delete"
245
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_delete"
246
246
  end
247
247
  # resource path
248
248
  local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -276,7 +276,7 @@ module PulpContainerClient
276
276
 
277
277
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
278
278
  if @api_client.config.debugging
279
- @api_client.config.logger.debug "API called: UploadsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
279
+ @api_client.config.logger.debug "API called: UploadsApi#uploads_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
280
280
  end
281
281
  return data, status_code, headers
282
282
  end
@@ -286,9 +286,7 @@ module PulpContainerClient
286
286
  # @param [Hash] opts the optional parameters
287
287
  # @option opts [Integer] :limit Number of results to return per page.
288
288
  # @option opts [Integer] :offset The initial index from which to return the results.
289
- # @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)
290
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
291
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
289
+ # @option opts [Array<String>] :ordering Ordering
292
290
  # @option opts [Integer] :size Filter results where size matches value
293
291
  # @option opts [Integer] :size__gt Filter results where size is greater than value
294
292
  # @option opts [Integer] :size__lt Filter results where size is less than value
@@ -296,8 +294,8 @@ module PulpContainerClient
296
294
  # @option opts [Array<String>] :fields A list of fields to include in the response.
297
295
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
298
296
  # @return [PaginatedUploadResponseList]
299
- def list(opts = {})
300
- data, _status_code, _headers = list_with_http_info(opts)
297
+ def uploads_list(opts = {})
298
+ data, _status_code, _headers = uploads_list_with_http_info(opts)
301
299
  data
302
300
  end
303
301
 
@@ -306,9 +304,7 @@ module PulpContainerClient
306
304
  # @param [Hash] opts the optional parameters
307
305
  # @option opts [Integer] :limit Number of results to return per page.
308
306
  # @option opts [Integer] :offset The initial index from which to return the results.
309
- # @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)
310
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
311
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
307
+ # @option opts [Array<String>] :ordering Ordering
312
308
  # @option opts [Integer] :size Filter results where size matches value
313
309
  # @option opts [Integer] :size__gt Filter results where size is greater than value
314
310
  # @option opts [Integer] :size__lt Filter results where size is less than value
@@ -316,9 +312,9 @@ module PulpContainerClient
316
312
  # @option opts [Array<String>] :fields A list of fields to include in the response.
317
313
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
318
314
  # @return [Array<(PaginatedUploadResponseList, Integer, Hash)>] PaginatedUploadResponseList data, response status code and response headers
319
- def list_with_http_info(opts = {})
315
+ def uploads_list_with_http_info(opts = {})
320
316
  if @api_client.config.debugging
321
- @api_client.config.logger.debug 'Calling API: UploadsApi.list ...'
317
+ @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list ...'
322
318
  end
323
319
  allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-size", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "size"]
324
320
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -332,8 +328,6 @@ module PulpContainerClient
332
328
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
333
329
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
334
330
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
335
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
336
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
337
331
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
338
332
  query_params[:'size__gt'] = opts[:'size__gt'] if !opts[:'size__gt'].nil?
339
333
  query_params[:'size__lt'] = opts[:'size__lt'] if !opts[:'size__lt'].nil?
@@ -369,7 +363,7 @@ module PulpContainerClient
369
363
 
370
364
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
371
365
  if @api_client.config.debugging
372
- @api_client.config.logger.debug "API called: UploadsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
366
+ @api_client.config.logger.debug "API called: UploadsApi#uploads_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
373
367
  end
374
368
  return data, status_code, headers
375
369
  end
@@ -380,8 +374,8 @@ module PulpContainerClient
380
374
  # @option opts [Array<String>] :fields A list of fields to include in the response.
381
375
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
382
376
  # @return [ObjectRolesResponse]
383
- def list_roles(upload_href, opts = {})
384
- data, _status_code, _headers = list_roles_with_http_info(upload_href, opts)
377
+ def uploads_list_roles(upload_href, opts = {})
378
+ data, _status_code, _headers = uploads_list_roles_with_http_info(upload_href, opts)
385
379
  data
386
380
  end
387
381
 
@@ -391,13 +385,13 @@ module PulpContainerClient
391
385
  # @option opts [Array<String>] :fields A list of fields to include in the response.
392
386
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
393
387
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
394
- def list_roles_with_http_info(upload_href, opts = {})
388
+ def uploads_list_roles_with_http_info(upload_href, opts = {})
395
389
  if @api_client.config.debugging
396
- @api_client.config.logger.debug 'Calling API: UploadsApi.list_roles ...'
390
+ @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list_roles ...'
397
391
  end
398
392
  # verify the required parameter 'upload_href' is set
399
393
  if @api_client.config.client_side_validation && upload_href.nil?
400
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.list_roles"
394
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_list_roles"
401
395
  end
402
396
  # resource path
403
397
  local_var_path = '{upload_href}list_roles/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -435,7 +429,7 @@ module PulpContainerClient
435
429
 
436
430
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
437
431
  if @api_client.config.debugging
438
- @api_client.config.logger.debug "API called: UploadsApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
432
+ @api_client.config.logger.debug "API called: UploadsApi#uploads_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
439
433
  end
440
434
  return data, status_code, headers
441
435
  end
@@ -446,8 +440,8 @@ module PulpContainerClient
446
440
  # @option opts [Array<String>] :fields A list of fields to include in the response.
447
441
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
448
442
  # @return [MyPermissionsResponse]
449
- def my_permissions(upload_href, opts = {})
450
- data, _status_code, _headers = my_permissions_with_http_info(upload_href, opts)
443
+ def uploads_my_permissions(upload_href, opts = {})
444
+ data, _status_code, _headers = uploads_my_permissions_with_http_info(upload_href, opts)
451
445
  data
452
446
  end
453
447
 
@@ -457,13 +451,13 @@ module PulpContainerClient
457
451
  # @option opts [Array<String>] :fields A list of fields to include in the response.
458
452
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
459
453
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
460
- def my_permissions_with_http_info(upload_href, opts = {})
454
+ def uploads_my_permissions_with_http_info(upload_href, opts = {})
461
455
  if @api_client.config.debugging
462
- @api_client.config.logger.debug 'Calling API: UploadsApi.my_permissions ...'
456
+ @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_my_permissions ...'
463
457
  end
464
458
  # verify the required parameter 'upload_href' is set
465
459
  if @api_client.config.client_side_validation && upload_href.nil?
466
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.my_permissions"
460
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_my_permissions"
467
461
  end
468
462
  # resource path
469
463
  local_var_path = '{upload_href}my_permissions/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -501,7 +495,7 @@ module PulpContainerClient
501
495
 
502
496
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
503
497
  if @api_client.config.debugging
504
- @api_client.config.logger.debug "API called: UploadsApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
498
+ @api_client.config.logger.debug "API called: UploadsApi#uploads_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
505
499
  end
506
500
  return data, status_code, headers
507
501
  end
@@ -513,8 +507,8 @@ module PulpContainerClient
513
507
  # @option opts [Array<String>] :fields A list of fields to include in the response.
514
508
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
515
509
  # @return [UploadDetailResponse]
516
- def read(upload_href, opts = {})
517
- data, _status_code, _headers = read_with_http_info(upload_href, opts)
510
+ def uploads_read(upload_href, opts = {})
511
+ data, _status_code, _headers = uploads_read_with_http_info(upload_href, opts)
518
512
  data
519
513
  end
520
514
 
@@ -525,13 +519,13 @@ module PulpContainerClient
525
519
  # @option opts [Array<String>] :fields A list of fields to include in the response.
526
520
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
527
521
  # @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
528
- def read_with_http_info(upload_href, opts = {})
522
+ def uploads_read_with_http_info(upload_href, opts = {})
529
523
  if @api_client.config.debugging
530
- @api_client.config.logger.debug 'Calling API: UploadsApi.read ...'
524
+ @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_read ...'
531
525
  end
532
526
  # verify the required parameter 'upload_href' is set
533
527
  if @api_client.config.client_side_validation && upload_href.nil?
534
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.read"
528
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_read"
535
529
  end
536
530
  # resource path
537
531
  local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -569,7 +563,7 @@ module PulpContainerClient
569
563
 
570
564
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
571
565
  if @api_client.config.debugging
572
- @api_client.config.logger.debug "API called: UploadsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
566
+ @api_client.config.logger.debug "API called: UploadsApi#uploads_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
573
567
  end
574
568
  return data, status_code, headers
575
569
  end
@@ -579,8 +573,8 @@ module PulpContainerClient
579
573
  # @param upload [Upload]
580
574
  # @param [Hash] opts the optional parameters
581
575
  # @return [NestedRoleResponse]
582
- def remove_role(upload_href, upload, opts = {})
583
- data, _status_code, _headers = remove_role_with_http_info(upload_href, upload, opts)
576
+ def uploads_remove_role(upload_href, upload, opts = {})
577
+ data, _status_code, _headers = uploads_remove_role_with_http_info(upload_href, upload, opts)
584
578
  data
585
579
  end
586
580
 
@@ -589,17 +583,17 @@ module PulpContainerClient
589
583
  # @param upload [Upload]
590
584
  # @param [Hash] opts the optional parameters
591
585
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
592
- def remove_role_with_http_info(upload_href, upload, opts = {})
586
+ def uploads_remove_role_with_http_info(upload_href, upload, opts = {})
593
587
  if @api_client.config.debugging
594
- @api_client.config.logger.debug 'Calling API: UploadsApi.remove_role ...'
588
+ @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_remove_role ...'
595
589
  end
596
590
  # verify the required parameter 'upload_href' is set
597
591
  if @api_client.config.client_side_validation && upload_href.nil?
598
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.remove_role"
592
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_remove_role"
599
593
  end
600
594
  # verify the required parameter 'upload' is set
601
595
  if @api_client.config.client_side_validation && upload.nil?
602
- fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.remove_role"
596
+ fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_remove_role"
603
597
  end
604
598
  # resource path
605
599
  local_var_path = '{upload_href}remove_role/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -637,7 +631,7 @@ module PulpContainerClient
637
631
 
638
632
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
639
633
  if @api_client.config.debugging
640
- @api_client.config.logger.debug "API called: UploadsApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
634
+ @api_client.config.logger.debug "API called: UploadsApi#uploads_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
641
635
  end
642
636
  return data, status_code, headers
643
637
  end
@@ -650,8 +644,8 @@ module PulpContainerClient
650
644
  # @param [Hash] opts the optional parameters
651
645
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
652
646
  # @return [UploadResponse]
653
- def update(content_range, upload_href, file, opts = {})
654
- data, _status_code, _headers = update_with_http_info(content_range, upload_href, file, opts)
647
+ def uploads_update(content_range, upload_href, file, opts = {})
648
+ data, _status_code, _headers = uploads_update_with_http_info(content_range, upload_href, file, opts)
655
649
  data
656
650
  end
657
651
 
@@ -663,24 +657,24 @@ module PulpContainerClient
663
657
  # @param [Hash] opts the optional parameters
664
658
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
665
659
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
666
- def update_with_http_info(content_range, upload_href, file, opts = {})
660
+ def uploads_update_with_http_info(content_range, upload_href, file, opts = {})
667
661
  if @api_client.config.debugging
668
- @api_client.config.logger.debug 'Calling API: UploadsApi.update ...'
662
+ @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_update ...'
669
663
  end
670
664
  # verify the required parameter 'content_range' is set
671
665
  if @api_client.config.client_side_validation && content_range.nil?
672
- fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.update"
666
+ fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.uploads_update"
673
667
  end
674
668
  # verify the required parameter 'upload_href' is set
675
669
  if @api_client.config.client_side_validation && upload_href.nil?
676
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.update"
670
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_update"
677
671
  end
678
672
  # verify the required parameter 'file' is set
679
673
  if @api_client.config.client_side_validation && file.nil?
680
- fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.update"
674
+ fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.uploads_update"
681
675
  end
682
676
  if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
683
- fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.update, the character length must be great than or equal to 1.'
677
+ fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.uploads_update, the character length must be great than or equal to 1.'
684
678
  end
685
679
 
686
680
  # resource path
@@ -722,7 +716,7 @@ module PulpContainerClient
722
716
 
723
717
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
724
718
  if @api_client.config.debugging
725
- @api_client.config.logger.debug "API called: UploadsApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
719
+ @api_client.config.logger.debug "API called: UploadsApi#uploads_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
726
720
  end
727
721
  return data, status_code, headers
728
722
  end