cloudsmith-api 1.33.7 → 1.120.3

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 (369) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +54 -30
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +5 -3
  6. data/docs/AuditLogApi.md +137 -0
  7. data/docs/ConanPackageUpload.md +5 -3
  8. data/docs/FilesApi.md +13 -6
  9. data/docs/MavenPackageUpload.md +5 -3
  10. data/docs/NamespaceAuditLog.md +23 -0
  11. data/docs/OrganizationGroupSync.md +12 -0
  12. data/docs/OrganizationInvite.md +16 -0
  13. data/docs/OrganizationTeam.md +12 -0
  14. data/docs/OrgsApi.md +713 -0
  15. data/docs/OrgsInvitesCreate.md +12 -0
  16. data/docs/OrgsInvitesExtend.md +11 -0
  17. data/docs/OrgsSamlgroupsyncCreate.md +12 -0
  18. data/docs/OrgsTeamsCreate.md +11 -0
  19. data/docs/OrgsTeamsPartialUpdate.md +11 -0
  20. data/docs/Package.md +5 -3
  21. data/docs/PackageCopy.md +5 -3
  22. data/docs/PackageMove.md +5 -3
  23. data/docs/PackageStatus.md +4 -2
  24. data/docs/PackagesApi.md +65 -0
  25. data/docs/PackagesQuarantine.md +8 -0
  26. data/docs/RawPackageUpload.md +5 -3
  27. data/docs/ReposApi.md +588 -2
  28. data/docs/ReposCreate.md +28 -0
  29. data/docs/ReposGpgCreate.md +9 -0
  30. data/docs/ReposPartialUpdate.md +28 -0
  31. data/docs/ReposRsaCreate.md +9 -0
  32. data/docs/Repository.md +29 -1
  33. data/docs/RepositoryAuditLog.md +20 -0
  34. data/docs/RepositoryCreate.md +59 -0
  35. data/docs/RepositoryGpgKey.md +14 -0
  36. data/docs/RepositoryPrivilegeList.md +8 -0
  37. data/docs/RepositoryRsaKey.md +13 -0
  38. data/docs/RepositoryWebhook.md +3 -3
  39. data/docs/VagrantPackageUpload.md +5 -3
  40. data/docs/WebhooksCreate.md +2 -2
  41. data/docs/WebhooksPartialUpdate.md +2 -2
  42. data/lib/cloudsmith-api/api/audit_log_api.rb +147 -0
  43. data/lib/cloudsmith-api/api/files_api.rb +17 -7
  44. data/lib/cloudsmith-api/api/orgs_api.rb +671 -0
  45. data/lib/cloudsmith-api/api/packages_api.rb +66 -0
  46. data/lib/cloudsmith-api/api/repos_api.rb +569 -3
  47. data/lib/cloudsmith-api/models/alpine_package_upload.rb +58 -4
  48. data/lib/cloudsmith-api/models/conan_package_upload.rb +58 -4
  49. data/lib/cloudsmith-api/models/entitlements_create.rb +46 -0
  50. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +46 -0
  51. data/lib/cloudsmith-api/models/entitlements_refresh.rb +46 -0
  52. data/lib/cloudsmith-api/models/files_abort.rb +34 -0
  53. data/lib/cloudsmith-api/models/files_complete.rb +34 -0
  54. data/lib/cloudsmith-api/models/files_create.rb +34 -0
  55. data/lib/cloudsmith-api/models/files_validate.rb +34 -0
  56. data/lib/cloudsmith-api/models/maven_package_upload.rb +58 -4
  57. data/lib/cloudsmith-api/models/namespace_audit_log.rb +395 -0
  58. data/lib/cloudsmith-api/models/organization_group_sync.rb +240 -0
  59. data/lib/cloudsmith-api/models/organization_invite.rb +299 -0
  60. data/lib/cloudsmith-api/models/organization_membership.rb +46 -0
  61. data/lib/cloudsmith-api/models/organization_team.rb +264 -0
  62. data/lib/cloudsmith-api/models/orgs_invites_create.rb +259 -0
  63. data/lib/cloudsmith-api/models/orgs_invites_extend.rb +249 -0
  64. data/lib/cloudsmith-api/models/orgs_samlgroupsync_create.rb +245 -0
  65. data/lib/cloudsmith-api/models/orgs_teams_create.rb +254 -0
  66. data/lib/cloudsmith-api/models/orgs_teams_partial_update.rb +249 -0
  67. data/lib/cloudsmith-api/models/package.rb +58 -4
  68. data/lib/cloudsmith-api/models/package_copy.rb +58 -4
  69. data/lib/cloudsmith-api/models/package_move.rb +58 -4
  70. data/lib/cloudsmith-api/models/package_status.rb +23 -3
  71. data/lib/cloudsmith-api/models/packages_quarantine.rb +185 -0
  72. data/lib/cloudsmith-api/models/packages_tag.rb +34 -0
  73. data/lib/cloudsmith-api/models/raw_package_upload.rb +58 -4
  74. data/lib/cloudsmith-api/models/repos_create.rb +402 -4
  75. data/lib/cloudsmith-api/models/repos_gpg_create.rb +200 -0
  76. data/lib/cloudsmith-api/models/repos_partial_update.rb +414 -4
  77. data/lib/cloudsmith-api/models/repos_rsa_create.rb +200 -0
  78. data/lib/cloudsmith-api/models/repository.rb +415 -5
  79. data/lib/cloudsmith-api/models/repository_audit_log.rb +355 -0
  80. data/lib/cloudsmith-api/models/repository_create.rb +820 -0
  81. data/lib/cloudsmith-api/models/repository_gpg_key.rb +250 -0
  82. data/lib/cloudsmith-api/models/repository_privilege_list.rb +185 -0
  83. data/lib/cloudsmith-api/models/repository_rsa_key.rb +235 -0
  84. data/lib/cloudsmith-api/models/repository_token.rb +46 -0
  85. data/lib/cloudsmith-api/models/repository_token_refresh.rb +46 -0
  86. data/lib/cloudsmith-api/models/repository_webhook.rb +3 -3
  87. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +58 -4
  88. data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +34 -0
  89. data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +34 -0
  90. data/lib/cloudsmith-api/models/webhooks_create.rb +2 -2
  91. data/lib/cloudsmith-api/models/webhooks_partial_update.rb +2 -2
  92. data/lib/cloudsmith-api/version.rb +1 -1
  93. data/lib/cloudsmith-api.rb +18 -0
  94. data/spec/api/audit_log_api_spec.rb +66 -0
  95. data/spec/api/files_api_spec.rb +4 -2
  96. data/spec/api/orgs_api_spec.rb +161 -0
  97. data/spec/api/packages_api_spec.rb +15 -0
  98. data/spec/api/repos_api_spec.rb +133 -1
  99. data/spec/models/alpine_package_upload_spec.rb +16 -0
  100. data/spec/models/conan_package_upload_spec.rb +16 -0
  101. data/spec/models/entitlements_create_spec.rb +8 -0
  102. data/spec/models/entitlements_partial_update_spec.rb +8 -0
  103. data/spec/models/entitlements_refresh_spec.rb +8 -0
  104. data/spec/models/files_abort_spec.rb +4 -0
  105. data/spec/models/files_complete_spec.rb +4 -0
  106. data/spec/models/files_create_spec.rb +4 -0
  107. data/spec/models/files_validate_spec.rb +4 -0
  108. data/spec/models/maven_package_upload_spec.rb +16 -0
  109. data/spec/models/namespace_audit_log_spec.rb +131 -0
  110. data/spec/models/organization_group_sync_spec.rb +65 -0
  111. data/spec/models/organization_invite_spec.rb +93 -0
  112. data/spec/models/organization_membership_spec.rb +8 -0
  113. data/spec/models/organization_team_spec.rb +69 -0
  114. data/spec/models/orgs_invites_create_spec.rb +69 -0
  115. data/spec/models/orgs_invites_extend_spec.rb +63 -0
  116. data/spec/models/orgs_samlgroupsync_create_spec.rb +65 -0
  117. data/spec/models/orgs_teams_create_spec.rb +63 -0
  118. data/spec/models/orgs_teams_partial_update_spec.rb +63 -0
  119. data/spec/models/package_copy_spec.rb +16 -0
  120. data/spec/models/package_move_spec.rb +16 -0
  121. data/spec/models/package_spec.rb +16 -0
  122. data/spec/models/package_status_spec.rb +12 -0
  123. data/spec/models/packages_quarantine_spec.rb +41 -0
  124. data/spec/models/packages_tag_spec.rb +4 -0
  125. data/spec/models/raw_package_upload_spec.rb +16 -0
  126. data/spec/models/repos_create_spec.rb +200 -0
  127. data/spec/models/repos_gpg_create_spec.rb +47 -0
  128. data/spec/models/repos_partial_update_spec.rb +204 -0
  129. data/spec/models/repos_rsa_create_spec.rb +47 -0
  130. data/spec/models/repository_audit_log_spec.rb +113 -0
  131. data/spec/models/repository_create_spec.rb +379 -0
  132. data/spec/models/repository_gpg_key_spec.rb +77 -0
  133. data/spec/models/repository_privilege_list_spec.rb +41 -0
  134. data/spec/models/repository_rsa_key_spec.rb +71 -0
  135. data/spec/models/repository_spec.rb +204 -0
  136. data/spec/models/repository_token_refresh_spec.rb +8 -0
  137. data/spec/models/repository_token_spec.rb +8 -0
  138. data/spec/models/vagrant_package_upload_spec.rb +16 -0
  139. data/spec/models/vulnerability_scan_results_list_spec.rb +4 -0
  140. data/spec/models/vulnerability_scan_results_spec.rb +4 -0
  141. data/vendor/bundle/ruby/2.6.0/bin/htmldiff +3 -3
  142. data/vendor/bundle/ruby/2.6.0/bin/ldiff +3 -3
  143. data/vendor/bundle/ruby/2.6.0/bin/multigem +3 -3
  144. data/vendor/bundle/ruby/2.6.0/bin/multiruby +3 -3
  145. data/vendor/bundle/ruby/2.6.0/bin/rake +2 -0
  146. data/vendor/bundle/ruby/2.6.0/bin/rspec +2 -0
  147. data/vendor/bundle/ruby/2.6.0/bin/unit_diff +3 -3
  148. data/vendor/bundle/ruby/2.6.0/bin/zentest +3 -3
  149. data/vendor/bundle/ruby/2.6.0/cache/json-2.6.2.gem +0 -0
  150. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.7.gem +0 -0
  151. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.11.1.gem +0 -0
  152. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +4 -4
  153. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/ffi_c.so +0 -0
  154. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +5 -5
  155. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/mkmf.log +9 -9
  156. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.1 → json-2.6.2}/gem.build_complete +0 -0
  157. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/gem_make.out +13 -0
  158. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
  159. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
  160. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.1 → json-2.6.2}/mkmf.log +8 -8
  161. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
  162. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
  163. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
  164. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
  165. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
  166. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
  167. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
  168. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
  169. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
  170. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
  171. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +3 -3
  172. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
  173. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
  174. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
  175. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
  176. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
  177. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
  178. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
  179. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
  180. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
  181. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
  182. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
  183. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
  184. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
  185. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
  186. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
  187. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/CHANGES.md +0 -0
  188. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/LICENSE +0 -0
  189. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/README.md +0 -0
  190. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/VERSION +1 -0
  191. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/Makefile +3 -3
  192. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/fbuffer/fbuffer.h +0 -0
  193. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  194. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/Makefile +3 -3
  195. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/depend +0 -0
  196. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/extconf.rb +0 -0
  197. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.c +0 -0
  198. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.h +0 -0
  199. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
  200. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
  201. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  202. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/Makefile +3 -3
  203. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/depend +0 -0
  204. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/extconf.rb +0 -0
  205. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.c +9 -0
  206. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.h +0 -0
  207. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
  208. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.rl +9 -0
  209. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
  210. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/extconf.rb +0 -0
  211. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/json.gemspec +0 -0
  212. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/bigdecimal.rb +0 -0
  213. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/complex.rb +0 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/core.rb +0 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/date.rb +0 -0
  216. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/date_time.rb +0 -0
  217. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/exception.rb +0 -0
  218. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/ostruct.rb +0 -0
  219. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/range.rb +0 -0
  220. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/rational.rb +0 -0
  221. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/regexp.rb +0 -0
  222. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/set.rb +0 -0
  223. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/struct.rb +0 -0
  224. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/symbol.rb +0 -0
  225. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/time.rb +0 -0
  226. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/common.rb +0 -0
  227. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
  228. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
  229. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/ext.rb +0 -0
  230. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/generic_object.rb +0 -0
  231. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure/generator.rb +0 -0
  232. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure/parser.rb +0 -0
  233. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure.rb +0 -0
  234. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/version.rb +1 -1
  235. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json.rb +0 -0
  236. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.github/FUNDING.yml +0 -0
  237. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/dependabot.yml +8 -0
  238. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/workflows/release.yml +16 -0
  239. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/workflows/tests.yml +28 -0
  240. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.gitignore +0 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.rubocop.yml +0 -0
  242. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.rubocop_opinionated.yml +6 -0
  243. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.yardopts +0 -0
  244. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/2.0-Upgrade.md +0 -0
  245. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/CHANGELOG.md +11 -0
  246. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/Gemfile +0 -1
  247. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/LICENSE.txt +1 -1
  248. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/README.md +12 -2
  249. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/Rakefile +1 -0
  250. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/SECURITY.md +0 -0
  251. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/bin/console +0 -0
  252. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/data/list.txt +1033 -378
  253. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/domain.rb +1 -1
  254. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/errors.rb +1 -1
  255. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/list.rb +3 -3
  256. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/rule.rb +11 -11
  257. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/version.rb +5 -3
  258. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix.rb +11 -13
  259. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/public_suffix.gemspec +0 -0
  260. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/.empty +0 -0
  261. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/acceptance_test.rb +0 -0
  262. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_find.rb +0 -0
  263. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_find_all.rb +0 -0
  264. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_names.rb +0 -0
  265. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_select.rb +0 -0
  266. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_select_incremental.rb +0 -0
  267. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_valid.rb +0 -0
  268. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/domain_profiler.rb +0 -0
  269. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/find_profiler.rb +0 -0
  270. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/find_profiler_jp.rb +0 -0
  271. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/initialization_profiler.rb +0 -0
  272. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/list_profsize.rb +0 -0
  273. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/object_binsize.rb +0 -0
  274. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/psl_test.rb +0 -0
  275. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/test_helper.rb +0 -8
  276. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/tests.txt +0 -0
  277. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/domain_test.rb +0 -0
  278. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/errors_test.rb +0 -0
  279. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/list_test.rb +0 -0
  280. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/public_suffix_test.rb +0 -0
  281. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/rule_test.rb +0 -0
  282. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.document +0 -0
  283. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.yardopts +0 -0
  284. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/Changelog.md +10 -1
  285. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/LICENSE.md +0 -0
  286. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/README.md +0 -0
  287. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  288. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  289. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  290. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  291. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  292. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  293. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  294. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  295. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  296. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance.rb +0 -0
  297. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_list_matcher.rb +2 -1
  298. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_matchers.rb +0 -0
  299. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/configuration.rb +0 -0
  300. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/error_generator.rb +0 -0
  301. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/example_methods.rb +0 -0
  302. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  303. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/marshal_extension.rb +0 -0
  304. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  305. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  306. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive.rb +1 -1
  307. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  308. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  309. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_chain.rb +0 -0
  310. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_expectation.rb +13 -3
  311. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_double.rb +3 -0
  312. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_reference.rb +0 -0
  313. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/minitest_integration.rb +0 -0
  314. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/mutate_const.rb +0 -0
  315. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/object_reference.rb +0 -0
  316. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/order_group.rb +0 -0
  317. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/proxy.rb +6 -0
  318. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/space.rb +0 -0
  319. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/standalone.rb +0 -0
  320. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/syntax.rb +0 -0
  321. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/targets.rb +0 -0
  322. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/test_double.rb +0 -0
  323. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_double.rb +0 -0
  324. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  325. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  326. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/version.rb +1 -1
  327. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks.rb +0 -0
  328. data/vendor/bundle/ruby/2.6.0/specifications/ZenTest-4.12.1.gemspec +6 -9
  329. data/vendor/bundle/ruby/2.6.0/specifications/addressable-2.8.0.gemspec +6 -9
  330. data/vendor/bundle/ruby/2.6.0/specifications/autotest-4.4.6.gemspec +8 -13
  331. data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.19.gemspec +8 -13
  332. data/vendor/bundle/ruby/2.6.0/specifications/autotest-growl-0.2.16.gemspec +7 -11
  333. data/vendor/bundle/ruby/2.6.0/specifications/autotest-rails-pure-4.1.2.gemspec +2 -2
  334. data/vendor/bundle/ruby/2.6.0/specifications/crack-0.4.5.gemspec +5 -7
  335. data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.5.0.gemspec +12 -21
  336. data/vendor/bundle/ruby/2.6.0/specifications/ethon-0.15.0.gemspec +5 -7
  337. data/vendor/bundle/ruby/2.6.0/specifications/ffi-1.15.5.gemspec +8 -13
  338. data/vendor/bundle/ruby/2.6.0/specifications/hashdiff-1.0.1.gemspec +9 -15
  339. data/vendor/bundle/ruby/2.6.0/specifications/{json-2.6.1.gemspec → json-2.6.2.gemspec} +0 -0
  340. data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.6.gemspec → public_suffix-4.0.7.gemspec} +6 -6
  341. data/vendor/bundle/ruby/2.6.0/specifications/rake-12.3.3.gemspec +9 -15
  342. data/vendor/bundle/ruby/2.6.0/specifications/rexml-3.2.5.gemspec +7 -11
  343. data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.11.0.gemspec +7 -11
  344. data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.11.0.gemspec +13 -23
  345. data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.11.0.gemspec +10 -17
  346. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.11.0.gemspec → rspec-mocks-3.11.1.gemspec} +15 -22
  347. data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.11.0.gemspec +6 -9
  348. data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.2.gemspec +7 -11
  349. data/vendor/bundle/ruby/2.6.0/specifications/typhoeus-1.4.0.gemspec +5 -7
  350. data/vendor/bundle/ruby/2.6.0/specifications/vcr-3.0.3.gemspec +26 -49
  351. data/vendor/bundle/ruby/2.6.0/specifications/webmock-1.24.6.gemspec +19 -35
  352. metadata +246 -175
  353. data/docs/StorageregionsApi.md +0 -112
  354. data/vendor/bundle/ruby/2.6.0/cache/json-2.6.1.gem +0 -0
  355. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.6.gem +0 -0
  356. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.11.0.gem +0 -0
  357. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/gem_make.out +0 -13
  358. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/json/ext/generator.so +0 -0
  359. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/json/ext/parser.so +0 -0
  360. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/VERSION +0 -1
  361. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/generator/generator.o +0 -0
  362. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/generator/generator.so +0 -0
  363. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/parser/parser.o +0 -0
  364. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/parser/parser.so +0 -0
  365. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/lib/json/ext/generator.so +0 -0
  366. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/lib/json/ext/parser.so +0 -0
  367. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/.github/workflows/tests.yml +0 -36
  368. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/.travis.yml +0 -23
  369. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/codecov.yml +0 -12
@@ -342,6 +342,72 @@ module CloudsmithApi
342
342
  end
343
343
  return data, status_code, headers
344
344
  end
345
+ # Quarantine or restore a package.
346
+ # Quarantine or restore a package.
347
+ # @param owner
348
+ # @param repo
349
+ # @param identifier
350
+ # @param [Hash] opts the optional parameters
351
+ # @option opts [PackagesQuarantine] :data
352
+ # @return [Package]
353
+ def packages_quarantine(owner, repo, identifier, opts = {})
354
+ data, _status_code, _headers = packages_quarantine_with_http_info(owner, repo, identifier, opts)
355
+ data
356
+ end
357
+
358
+ # Quarantine or restore a package.
359
+ # Quarantine or restore a package.
360
+ # @param owner
361
+ # @param repo
362
+ # @param identifier
363
+ # @param [Hash] opts the optional parameters
364
+ # @option opts [PackagesQuarantine] :data
365
+ # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers
366
+ def packages_quarantine_with_http_info(owner, repo, identifier, opts = {})
367
+ if @api_client.config.debugging
368
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_quarantine ...'
369
+ end
370
+ # verify the required parameter 'owner' is set
371
+ if @api_client.config.client_side_validation && owner.nil?
372
+ fail ArgumentError, "Missing the required parameter 'owner' when calling PackagesApi.packages_quarantine"
373
+ end
374
+ # verify the required parameter 'repo' is set
375
+ if @api_client.config.client_side_validation && repo.nil?
376
+ fail ArgumentError, "Missing the required parameter 'repo' when calling PackagesApi.packages_quarantine"
377
+ end
378
+ # verify the required parameter 'identifier' is set
379
+ if @api_client.config.client_side_validation && identifier.nil?
380
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling PackagesApi.packages_quarantine"
381
+ end
382
+ # resource path
383
+ local_var_path = '/packages/{owner}/{repo}/{identifier}/quarantine/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
384
+
385
+ # query parameters
386
+ query_params = {}
387
+
388
+ # header parameters
389
+ header_params = {}
390
+ # HTTP header 'Content-Type'
391
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
392
+
393
+ # form parameters
394
+ form_params = {}
395
+
396
+ # http body (model)
397
+ post_body = @api_client.object_to_http_body(opts[:'data'])
398
+ auth_names = ['apikey']
399
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
400
+ :header_params => header_params,
401
+ :query_params => query_params,
402
+ :form_params => form_params,
403
+ :body => post_body,
404
+ :auth_names => auth_names,
405
+ :return_type => 'Package')
406
+ if @api_client.config.debugging
407
+ @api_client.config.logger.debug "API called: PackagesApi#packages_quarantine\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
408
+ end
409
+ return data, status_code, headers
410
+ end
345
411
  # Get a specific package in a repository.
346
412
  # Get a specific package in a repository.
347
413
  # @param owner
@@ -74,7 +74,7 @@ module CloudsmithApi
74
74
  # @param owner
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @option opts [ReposCreate] :data
77
- # @return [Repository]
77
+ # @return [RepositoryCreate]
78
78
  def repos_create(owner, opts = {})
79
79
  data, _status_code, _headers = repos_create_with_http_info(owner, opts)
80
80
  data
@@ -85,7 +85,7 @@ module CloudsmithApi
85
85
  # @param owner
86
86
  # @param [Hash] opts the optional parameters
87
87
  # @option opts [ReposCreate] :data
88
- # @return [Array<(Repository, Fixnum, Hash)>] Repository data, response status code and response headers
88
+ # @return [Array<(RepositoryCreate, Fixnum, Hash)>] RepositoryCreate data, response status code and response headers
89
89
  def repos_create_with_http_info(owner, opts = {})
90
90
  if @api_client.config.debugging
91
91
  @api_client.config.logger.debug 'Calling API: ReposApi.repos_create ...'
@@ -117,7 +117,7 @@ module CloudsmithApi
117
117
  :form_params => form_params,
118
118
  :body => post_body,
119
119
  :auth_names => auth_names,
120
- :return_type => 'Repository')
120
+ :return_type => 'RepositoryCreate')
121
121
  if @api_client.config.debugging
122
122
  @api_client.config.logger.debug "API called: ReposApi#repos_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
123
123
  end
@@ -178,6 +178,178 @@ module CloudsmithApi
178
178
  end
179
179
  return data, status_code, headers
180
180
  end
181
+ # Set the active GPG key for the Repository.
182
+ # Set the active GPG key for the Repository.
183
+ # @param owner
184
+ # @param identifier
185
+ # @param [Hash] opts the optional parameters
186
+ # @option opts [ReposGpgCreate] :data
187
+ # @return [RepositoryGpgKey]
188
+ def repos_gpg_create(owner, identifier, opts = {})
189
+ data, _status_code, _headers = repos_gpg_create_with_http_info(owner, identifier, opts)
190
+ data
191
+ end
192
+
193
+ # Set the active GPG key for the Repository.
194
+ # Set the active GPG key for the Repository.
195
+ # @param owner
196
+ # @param identifier
197
+ # @param [Hash] opts the optional parameters
198
+ # @option opts [ReposGpgCreate] :data
199
+ # @return [Array<(RepositoryGpgKey, Fixnum, Hash)>] RepositoryGpgKey data, response status code and response headers
200
+ def repos_gpg_create_with_http_info(owner, identifier, opts = {})
201
+ if @api_client.config.debugging
202
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_gpg_create ...'
203
+ end
204
+ # verify the required parameter 'owner' is set
205
+ if @api_client.config.client_side_validation && owner.nil?
206
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_gpg_create"
207
+ end
208
+ # verify the required parameter 'identifier' is set
209
+ if @api_client.config.client_side_validation && identifier.nil?
210
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_gpg_create"
211
+ end
212
+ # resource path
213
+ local_var_path = '/repos/{owner}/{identifier}/gpg/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
214
+
215
+ # query parameters
216
+ query_params = {}
217
+
218
+ # header parameters
219
+ header_params = {}
220
+ # HTTP header 'Content-Type'
221
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
222
+
223
+ # form parameters
224
+ form_params = {}
225
+
226
+ # http body (model)
227
+ post_body = @api_client.object_to_http_body(opts[:'data'])
228
+ auth_names = ['apikey']
229
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
230
+ :header_params => header_params,
231
+ :query_params => query_params,
232
+ :form_params => form_params,
233
+ :body => post_body,
234
+ :auth_names => auth_names,
235
+ :return_type => 'RepositoryGpgKey')
236
+ if @api_client.config.debugging
237
+ @api_client.config.logger.debug "API called: ReposApi#repos_gpg_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
238
+ end
239
+ return data, status_code, headers
240
+ end
241
+ # Retrieve the active GPG key for the Repository.
242
+ # Retrieve the active GPG key for the Repository.
243
+ # @param owner
244
+ # @param identifier
245
+ # @param [Hash] opts the optional parameters
246
+ # @return [RepositoryGpgKey]
247
+ def repos_gpg_list(owner, identifier, opts = {})
248
+ data, _status_code, _headers = repos_gpg_list_with_http_info(owner, identifier, opts)
249
+ data
250
+ end
251
+
252
+ # Retrieve the active GPG key for the Repository.
253
+ # Retrieve the active GPG key for the Repository.
254
+ # @param owner
255
+ # @param identifier
256
+ # @param [Hash] opts the optional parameters
257
+ # @return [Array<(RepositoryGpgKey, Fixnum, Hash)>] RepositoryGpgKey data, response status code and response headers
258
+ def repos_gpg_list_with_http_info(owner, identifier, opts = {})
259
+ if @api_client.config.debugging
260
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_gpg_list ...'
261
+ end
262
+ # verify the required parameter 'owner' is set
263
+ if @api_client.config.client_side_validation && owner.nil?
264
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_gpg_list"
265
+ end
266
+ # verify the required parameter 'identifier' is set
267
+ if @api_client.config.client_side_validation && identifier.nil?
268
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_gpg_list"
269
+ end
270
+ # resource path
271
+ local_var_path = '/repos/{owner}/{identifier}/gpg/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
272
+
273
+ # query parameters
274
+ query_params = {}
275
+
276
+ # header parameters
277
+ header_params = {}
278
+
279
+ # form parameters
280
+ form_params = {}
281
+
282
+ # http body (model)
283
+ post_body = nil
284
+ auth_names = ['apikey']
285
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
286
+ :header_params => header_params,
287
+ :query_params => query_params,
288
+ :form_params => form_params,
289
+ :body => post_body,
290
+ :auth_names => auth_names,
291
+ :return_type => 'RepositoryGpgKey')
292
+ if @api_client.config.debugging
293
+ @api_client.config.logger.debug "API called: ReposApi#repos_gpg_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
294
+ end
295
+ return data, status_code, headers
296
+ end
297
+ # Regenerate GPG Key for the Repository.
298
+ # Regenerate GPG Key for the Repository.
299
+ # @param owner
300
+ # @param identifier
301
+ # @param [Hash] opts the optional parameters
302
+ # @return [RepositoryGpgKey]
303
+ def repos_gpg_regenerate(owner, identifier, opts = {})
304
+ data, _status_code, _headers = repos_gpg_regenerate_with_http_info(owner, identifier, opts)
305
+ data
306
+ end
307
+
308
+ # Regenerate GPG Key for the Repository.
309
+ # Regenerate GPG Key for the Repository.
310
+ # @param owner
311
+ # @param identifier
312
+ # @param [Hash] opts the optional parameters
313
+ # @return [Array<(RepositoryGpgKey, Fixnum, Hash)>] RepositoryGpgKey data, response status code and response headers
314
+ def repos_gpg_regenerate_with_http_info(owner, identifier, opts = {})
315
+ if @api_client.config.debugging
316
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_gpg_regenerate ...'
317
+ end
318
+ # verify the required parameter 'owner' is set
319
+ if @api_client.config.client_side_validation && owner.nil?
320
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_gpg_regenerate"
321
+ end
322
+ # verify the required parameter 'identifier' is set
323
+ if @api_client.config.client_side_validation && identifier.nil?
324
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_gpg_regenerate"
325
+ end
326
+ # resource path
327
+ local_var_path = '/repos/{owner}/{identifier}/gpg/regenerate/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
328
+
329
+ # query parameters
330
+ query_params = {}
331
+
332
+ # header parameters
333
+ header_params = {}
334
+
335
+ # form parameters
336
+ form_params = {}
337
+
338
+ # http body (model)
339
+ post_body = nil
340
+ auth_names = ['apikey']
341
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
342
+ :header_params => header_params,
343
+ :query_params => query_params,
344
+ :form_params => form_params,
345
+ :body => post_body,
346
+ :auth_names => auth_names,
347
+ :return_type => 'RepositoryGpgKey')
348
+ if @api_client.config.debugging
349
+ @api_client.config.logger.debug "API called: ReposApi#repos_gpg_regenerate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
350
+ end
351
+ return data, status_code, headers
352
+ end
181
353
  # Get a list of all repositories within a namespace.
182
354
  # Get a list of all repositories within a namespace.
183
355
  # @param owner
@@ -294,6 +466,228 @@ module CloudsmithApi
294
466
  end
295
467
  return data, status_code, headers
296
468
  end
469
+ # Remove the specified repository privileges.
470
+ # Remove the specified repository privileges.
471
+ # @param owner
472
+ # @param identifier
473
+ # @param [Hash] opts the optional parameters
474
+ # @return [nil]
475
+ def repos_privileges_delete(owner, identifier, opts = {})
476
+ repos_privileges_delete_with_http_info(owner, identifier, opts)
477
+ nil
478
+ end
479
+
480
+ # Remove the specified repository privileges.
481
+ # Remove the specified repository privileges.
482
+ # @param owner
483
+ # @param identifier
484
+ # @param [Hash] opts the optional parameters
485
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
486
+ def repos_privileges_delete_with_http_info(owner, identifier, opts = {})
487
+ if @api_client.config.debugging
488
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_privileges_delete ...'
489
+ end
490
+ # verify the required parameter 'owner' is set
491
+ if @api_client.config.client_side_validation && owner.nil?
492
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_privileges_delete"
493
+ end
494
+ # verify the required parameter 'identifier' is set
495
+ if @api_client.config.client_side_validation && identifier.nil?
496
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_privileges_delete"
497
+ end
498
+ # resource path
499
+ local_var_path = '/repos/{owner}/{identifier}/privileges'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
500
+
501
+ # query parameters
502
+ query_params = {}
503
+
504
+ # header parameters
505
+ header_params = {}
506
+
507
+ # form parameters
508
+ form_params = {}
509
+
510
+ # http body (model)
511
+ post_body = nil
512
+ auth_names = ['apikey']
513
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
514
+ :header_params => header_params,
515
+ :query_params => query_params,
516
+ :form_params => form_params,
517
+ :body => post_body,
518
+ :auth_names => auth_names)
519
+ if @api_client.config.debugging
520
+ @api_client.config.logger.debug "API called: ReposApi#repos_privileges_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
521
+ end
522
+ return data, status_code, headers
523
+ end
524
+ # List all explicity created privileges for the repository.
525
+ # List all explicity created privileges for the repository.
526
+ # @param owner
527
+ # @param identifier
528
+ # @param [Hash] opts the optional parameters
529
+ # @return [Array<RepositoryPrivilegeList>]
530
+ def repos_privileges_list(owner, identifier, opts = {})
531
+ data, _status_code, _headers = repos_privileges_list_with_http_info(owner, identifier, opts)
532
+ data
533
+ end
534
+
535
+ # List all explicity created privileges for the repository.
536
+ # List all explicity created privileges for the repository.
537
+ # @param owner
538
+ # @param identifier
539
+ # @param [Hash] opts the optional parameters
540
+ # @return [Array<(Array<RepositoryPrivilegeList>, Fixnum, Hash)>] Array<RepositoryPrivilegeList> data, response status code and response headers
541
+ def repos_privileges_list_with_http_info(owner, identifier, opts = {})
542
+ if @api_client.config.debugging
543
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_privileges_list ...'
544
+ end
545
+ # verify the required parameter 'owner' is set
546
+ if @api_client.config.client_side_validation && owner.nil?
547
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_privileges_list"
548
+ end
549
+ # verify the required parameter 'identifier' is set
550
+ if @api_client.config.client_side_validation && identifier.nil?
551
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_privileges_list"
552
+ end
553
+ # resource path
554
+ local_var_path = '/repos/{owner}/{identifier}/privileges'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
555
+
556
+ # query parameters
557
+ query_params = {}
558
+
559
+ # header parameters
560
+ header_params = {}
561
+
562
+ # form parameters
563
+ form_params = {}
564
+
565
+ # http body (model)
566
+ post_body = nil
567
+ auth_names = ['apikey']
568
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
569
+ :header_params => header_params,
570
+ :query_params => query_params,
571
+ :form_params => form_params,
572
+ :body => post_body,
573
+ :auth_names => auth_names,
574
+ :return_type => 'Array<RepositoryPrivilegeList>')
575
+ if @api_client.config.debugging
576
+ @api_client.config.logger.debug "API called: ReposApi#repos_privileges_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
577
+ end
578
+ return data, status_code, headers
579
+ end
580
+ # Update the specified repository privileges.
581
+ # Update the specified repository privileges.
582
+ # @param owner
583
+ # @param identifier
584
+ # @param [Hash] opts the optional parameters
585
+ # @return [nil]
586
+ def repos_privileges_partial_update(owner, identifier, opts = {})
587
+ repos_privileges_partial_update_with_http_info(owner, identifier, opts)
588
+ nil
589
+ end
590
+
591
+ # Update the specified repository privileges.
592
+ # Update the specified repository privileges.
593
+ # @param owner
594
+ # @param identifier
595
+ # @param [Hash] opts the optional parameters
596
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
597
+ def repos_privileges_partial_update_with_http_info(owner, identifier, opts = {})
598
+ if @api_client.config.debugging
599
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_privileges_partial_update ...'
600
+ end
601
+ # verify the required parameter 'owner' is set
602
+ if @api_client.config.client_side_validation && owner.nil?
603
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_privileges_partial_update"
604
+ end
605
+ # verify the required parameter 'identifier' is set
606
+ if @api_client.config.client_side_validation && identifier.nil?
607
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_privileges_partial_update"
608
+ end
609
+ # resource path
610
+ local_var_path = '/repos/{owner}/{identifier}/privileges'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
611
+
612
+ # query parameters
613
+ query_params = {}
614
+
615
+ # header parameters
616
+ header_params = {}
617
+
618
+ # form parameters
619
+ form_params = {}
620
+
621
+ # http body (model)
622
+ post_body = nil
623
+ auth_names = ['apikey']
624
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
625
+ :header_params => header_params,
626
+ :query_params => query_params,
627
+ :form_params => form_params,
628
+ :body => post_body,
629
+ :auth_names => auth_names)
630
+ if @api_client.config.debugging
631
+ @api_client.config.logger.debug "API called: ReposApi#repos_privileges_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
632
+ end
633
+ return data, status_code, headers
634
+ end
635
+ # Replace all existing repository privileges with those specified.
636
+ # Replace all existing repository privileges with those specified.
637
+ # @param owner
638
+ # @param identifier
639
+ # @param [Hash] opts the optional parameters
640
+ # @return [RepositoryPrivilegeList]
641
+ def repos_privileges_update(owner, identifier, opts = {})
642
+ data, _status_code, _headers = repos_privileges_update_with_http_info(owner, identifier, opts)
643
+ data
644
+ end
645
+
646
+ # Replace all existing repository privileges with those specified.
647
+ # Replace all existing repository privileges with those specified.
648
+ # @param owner
649
+ # @param identifier
650
+ # @param [Hash] opts the optional parameters
651
+ # @return [Array<(RepositoryPrivilegeList, Fixnum, Hash)>] RepositoryPrivilegeList data, response status code and response headers
652
+ def repos_privileges_update_with_http_info(owner, identifier, opts = {})
653
+ if @api_client.config.debugging
654
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_privileges_update ...'
655
+ end
656
+ # verify the required parameter 'owner' is set
657
+ if @api_client.config.client_side_validation && owner.nil?
658
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_privileges_update"
659
+ end
660
+ # verify the required parameter 'identifier' is set
661
+ if @api_client.config.client_side_validation && identifier.nil?
662
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_privileges_update"
663
+ end
664
+ # resource path
665
+ local_var_path = '/repos/{owner}/{identifier}/privileges'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
666
+
667
+ # query parameters
668
+ query_params = {}
669
+
670
+ # header parameters
671
+ header_params = {}
672
+
673
+ # form parameters
674
+ form_params = {}
675
+
676
+ # http body (model)
677
+ post_body = nil
678
+ auth_names = ['apikey']
679
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
680
+ :header_params => header_params,
681
+ :query_params => query_params,
682
+ :form_params => form_params,
683
+ :body => post_body,
684
+ :auth_names => auth_names,
685
+ :return_type => 'RepositoryPrivilegeList')
686
+ if @api_client.config.debugging
687
+ @api_client.config.logger.debug "API called: ReposApi#repos_privileges_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
688
+ end
689
+ return data, status_code, headers
690
+ end
297
691
  # Get a specific repository.
298
692
  # Get a specific repository.
299
693
  # @param owner
@@ -350,5 +744,177 @@ module CloudsmithApi
350
744
  end
351
745
  return data, status_code, headers
352
746
  end
747
+ # Set the active RSA key for the Repository.
748
+ # Set the active RSA key for the Repository.
749
+ # @param owner
750
+ # @param identifier
751
+ # @param [Hash] opts the optional parameters
752
+ # @option opts [ReposRsaCreate] :data
753
+ # @return [RepositoryRsaKey]
754
+ def repos_rsa_create(owner, identifier, opts = {})
755
+ data, _status_code, _headers = repos_rsa_create_with_http_info(owner, identifier, opts)
756
+ data
757
+ end
758
+
759
+ # Set the active RSA key for the Repository.
760
+ # Set the active RSA key for the Repository.
761
+ # @param owner
762
+ # @param identifier
763
+ # @param [Hash] opts the optional parameters
764
+ # @option opts [ReposRsaCreate] :data
765
+ # @return [Array<(RepositoryRsaKey, Fixnum, Hash)>] RepositoryRsaKey data, response status code and response headers
766
+ def repos_rsa_create_with_http_info(owner, identifier, opts = {})
767
+ if @api_client.config.debugging
768
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_rsa_create ...'
769
+ end
770
+ # verify the required parameter 'owner' is set
771
+ if @api_client.config.client_side_validation && owner.nil?
772
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_rsa_create"
773
+ end
774
+ # verify the required parameter 'identifier' is set
775
+ if @api_client.config.client_side_validation && identifier.nil?
776
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_rsa_create"
777
+ end
778
+ # resource path
779
+ local_var_path = '/repos/{owner}/{identifier}/rsa/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
780
+
781
+ # query parameters
782
+ query_params = {}
783
+
784
+ # header parameters
785
+ header_params = {}
786
+ # HTTP header 'Content-Type'
787
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
788
+
789
+ # form parameters
790
+ form_params = {}
791
+
792
+ # http body (model)
793
+ post_body = @api_client.object_to_http_body(opts[:'data'])
794
+ auth_names = ['apikey']
795
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
796
+ :header_params => header_params,
797
+ :query_params => query_params,
798
+ :form_params => form_params,
799
+ :body => post_body,
800
+ :auth_names => auth_names,
801
+ :return_type => 'RepositoryRsaKey')
802
+ if @api_client.config.debugging
803
+ @api_client.config.logger.debug "API called: ReposApi#repos_rsa_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
804
+ end
805
+ return data, status_code, headers
806
+ end
807
+ # Retrieve the active RSA key for the Repository.
808
+ # Retrieve the active RSA key for the Repository.
809
+ # @param owner
810
+ # @param identifier
811
+ # @param [Hash] opts the optional parameters
812
+ # @return [RepositoryRsaKey]
813
+ def repos_rsa_list(owner, identifier, opts = {})
814
+ data, _status_code, _headers = repos_rsa_list_with_http_info(owner, identifier, opts)
815
+ data
816
+ end
817
+
818
+ # Retrieve the active RSA key for the Repository.
819
+ # Retrieve the active RSA key for the Repository.
820
+ # @param owner
821
+ # @param identifier
822
+ # @param [Hash] opts the optional parameters
823
+ # @return [Array<(RepositoryRsaKey, Fixnum, Hash)>] RepositoryRsaKey data, response status code and response headers
824
+ def repos_rsa_list_with_http_info(owner, identifier, opts = {})
825
+ if @api_client.config.debugging
826
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_rsa_list ...'
827
+ end
828
+ # verify the required parameter 'owner' is set
829
+ if @api_client.config.client_side_validation && owner.nil?
830
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_rsa_list"
831
+ end
832
+ # verify the required parameter 'identifier' is set
833
+ if @api_client.config.client_side_validation && identifier.nil?
834
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_rsa_list"
835
+ end
836
+ # resource path
837
+ local_var_path = '/repos/{owner}/{identifier}/rsa/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
838
+
839
+ # query parameters
840
+ query_params = {}
841
+
842
+ # header parameters
843
+ header_params = {}
844
+
845
+ # form parameters
846
+ form_params = {}
847
+
848
+ # http body (model)
849
+ post_body = nil
850
+ auth_names = ['apikey']
851
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
852
+ :header_params => header_params,
853
+ :query_params => query_params,
854
+ :form_params => form_params,
855
+ :body => post_body,
856
+ :auth_names => auth_names,
857
+ :return_type => 'RepositoryRsaKey')
858
+ if @api_client.config.debugging
859
+ @api_client.config.logger.debug "API called: ReposApi#repos_rsa_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
860
+ end
861
+ return data, status_code, headers
862
+ end
863
+ # Regenerate RSA Key for the Repository.
864
+ # Regenerate RSA Key for the Repository.
865
+ # @param owner
866
+ # @param identifier
867
+ # @param [Hash] opts the optional parameters
868
+ # @return [RepositoryRsaKey]
869
+ def repos_rsa_regenerate(owner, identifier, opts = {})
870
+ data, _status_code, _headers = repos_rsa_regenerate_with_http_info(owner, identifier, opts)
871
+ data
872
+ end
873
+
874
+ # Regenerate RSA Key for the Repository.
875
+ # Regenerate RSA Key for the Repository.
876
+ # @param owner
877
+ # @param identifier
878
+ # @param [Hash] opts the optional parameters
879
+ # @return [Array<(RepositoryRsaKey, Fixnum, Hash)>] RepositoryRsaKey data, response status code and response headers
880
+ def repos_rsa_regenerate_with_http_info(owner, identifier, opts = {})
881
+ if @api_client.config.debugging
882
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_rsa_regenerate ...'
883
+ end
884
+ # verify the required parameter 'owner' is set
885
+ if @api_client.config.client_side_validation && owner.nil?
886
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_rsa_regenerate"
887
+ end
888
+ # verify the required parameter 'identifier' is set
889
+ if @api_client.config.client_side_validation && identifier.nil?
890
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_rsa_regenerate"
891
+ end
892
+ # resource path
893
+ local_var_path = '/repos/{owner}/{identifier}/rsa/regenerate/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
894
+
895
+ # query parameters
896
+ query_params = {}
897
+
898
+ # header parameters
899
+ header_params = {}
900
+
901
+ # form parameters
902
+ form_params = {}
903
+
904
+ # http body (model)
905
+ post_body = nil
906
+ auth_names = ['apikey']
907
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
908
+ :header_params => header_params,
909
+ :query_params => query_params,
910
+ :form_params => form_params,
911
+ :body => post_body,
912
+ :auth_names => auth_names,
913
+ :return_type => 'RepositoryRsaKey')
914
+ if @api_client.config.debugging
915
+ @api_client.config.logger.debug "API called: ReposApi#repos_rsa_regenerate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
916
+ end
917
+ return data, status_code, headers
918
+ end
353
919
  end
354
920
  end