cloudsmith-api 2.0.23 → 2.0.25

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 (531) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +9 -7
  3. data/README.md +34 -5
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +1 -0
  6. data/docs/AlpineUpstream.md +32 -0
  7. data/docs/AlpineUpstreamRequest.md +20 -0
  8. data/docs/AlpineUpstreamRequestPatch.md +20 -0
  9. data/docs/BulkActionApi.md +70 -0
  10. data/docs/CargoPackageUpload.md +1 -0
  11. data/docs/CargoUpstream.md +4 -4
  12. data/docs/CocoapodsPackageUpload.md +1 -0
  13. data/docs/ComposerPackageUpload.md +1 -0
  14. data/docs/ComposerUpstream.md +4 -4
  15. data/docs/ConanPackageUpload.md +1 -0
  16. data/docs/CondaPackageUpload.md +1 -0
  17. data/docs/CondaUpstream.md +4 -4
  18. data/docs/CranPackageUpload.md +1 -0
  19. data/docs/CranUpstream.md +4 -4
  20. data/docs/DartPackageUpload.md +1 -0
  21. data/docs/DartUpstream.md +4 -4
  22. data/docs/DebPackageUpload.md +1 -0
  23. data/docs/DebUpstream.md +4 -4
  24. data/docs/DockerPackageUpload.md +1 -0
  25. data/docs/DockerUpstream.md +2 -2
  26. data/docs/FormatSupport.md +1 -0
  27. data/docs/FormatSupportUpstream.md +1 -0
  28. data/docs/GenericPackageUpload.md +91 -0
  29. data/docs/GenericPackageUploadRequest.md +13 -0
  30. data/docs/GenericUpstream.md +33 -0
  31. data/docs/GenericUpstreamRequest.md +21 -0
  32. data/docs/GenericUpstreamRequestPatch.md +21 -0
  33. data/docs/GoPackageUpload.md +1 -0
  34. data/docs/GoUpstream.md +4 -4
  35. data/docs/HelmPackageUpload.md +1 -0
  36. data/docs/HelmUpstream.md +4 -4
  37. data/docs/HexPackageUpload.md +1 -0
  38. data/docs/HexUpstream.md +4 -4
  39. data/docs/HuggingfacePackageUpload.md +1 -0
  40. data/docs/HuggingfaceUpstream.md +4 -4
  41. data/docs/LuarocksPackageUpload.md +1 -0
  42. data/docs/MavenPackageUpload.md +1 -0
  43. data/docs/MavenUpstream.md +5 -4
  44. data/docs/MavenUpstreamRequest.md +1 -0
  45. data/docs/MavenUpstreamRequestPatch.md +1 -0
  46. data/docs/NpmPackageUpload.md +1 -0
  47. data/docs/NpmUpstream.md +5 -4
  48. data/docs/NpmUpstreamRequest.md +1 -0
  49. data/docs/NpmUpstreamRequestPatch.md +1 -0
  50. data/docs/NugetPackageUpload.md +1 -0
  51. data/docs/NugetUpstream.md +4 -4
  52. data/docs/OrganizationTeam.md +1 -1
  53. data/docs/OrganizationTeamMembers.md +1 -1
  54. data/docs/OrganizationTeamRequest.md +1 -1
  55. data/docs/OrganizationTeamRequestPatch.md +1 -1
  56. data/docs/{OrganizationTeamMembership.md → OrganizationTeamServiceMember.md} +2 -1
  57. data/docs/P2PackageUpload.md +1 -0
  58. data/docs/Package.md +2 -0
  59. data/docs/PackageBulkAction.md +11 -0
  60. data/docs/PackageBulkActionResponse.md +10 -0
  61. data/docs/PackageCopy.md +2 -0
  62. data/docs/PackageCopyRequest.md +1 -1
  63. data/docs/PackageMove.md +2 -0
  64. data/docs/PackageMoveRequest.md +1 -1
  65. data/docs/PackageQuarantine.md +2 -0
  66. data/docs/PackageResync.md +2 -0
  67. data/docs/PackageTag.md +2 -0
  68. data/docs/PackagesApi.md +262 -0
  69. data/docs/PythonPackageUpload.md +1 -0
  70. data/docs/PythonUpstream.md +4 -4
  71. data/docs/RawPackageUpload.md +1 -0
  72. data/docs/ReposApi.md +1173 -367
  73. data/docs/Repository.md +2 -0
  74. data/docs/RepositoryCreate.md +2 -0
  75. data/docs/RepositoryCreateRequest.md +1 -0
  76. data/docs/RepositoryRequestPatch.md +1 -0
  77. data/docs/RpmPackageUpload.md +1 -0
  78. data/docs/RpmUpstream.md +4 -4
  79. data/docs/RubyPackageUpload.md +1 -0
  80. data/docs/RubyUpstream.md +4 -4
  81. data/docs/SwiftPackageUpload.md +1 -0
  82. data/docs/SwiftUpstream.md +4 -4
  83. data/docs/TerraformPackageUpload.md +1 -0
  84. data/docs/VagrantPackageUpload.md +1 -0
  85. data/docs/VsxPackageUpload.md +91 -0
  86. data/docs/VsxPackageUploadRequest.md +10 -0
  87. data/lib/cloudsmith-api/api/bulk_action_api.rb +77 -0
  88. data/lib/cloudsmith-api/api/packages_api.rb +246 -0
  89. data/lib/cloudsmith-api/api/repos_api.rb +1475 -679
  90. data/lib/cloudsmith-api/models/alpine_package_upload.rb +10 -1
  91. data/lib/cloudsmith-api/models/alpine_upstream.rb +496 -0
  92. data/lib/cloudsmith-api/models/alpine_upstream_request.rb +365 -0
  93. data/lib/cloudsmith-api/models/alpine_upstream_request_patch.rb +355 -0
  94. data/lib/cloudsmith-api/models/cargo_package_upload.rb +10 -1
  95. data/lib/cloudsmith-api/models/cargo_upstream.rb +7 -4
  96. data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +10 -1
  97. data/lib/cloudsmith-api/models/composer_package_upload.rb +10 -1
  98. data/lib/cloudsmith-api/models/composer_upstream.rb +7 -4
  99. data/lib/cloudsmith-api/models/conan_package_upload.rb +10 -1
  100. data/lib/cloudsmith-api/models/conda_package_upload.rb +10 -1
  101. data/lib/cloudsmith-api/models/conda_upstream.rb +7 -4
  102. data/lib/cloudsmith-api/models/cran_package_upload.rb +10 -1
  103. data/lib/cloudsmith-api/models/cran_upstream.rb +7 -4
  104. data/lib/cloudsmith-api/models/dart_package_upload.rb +10 -1
  105. data/lib/cloudsmith-api/models/dart_upstream.rb +7 -4
  106. data/lib/cloudsmith-api/models/deb_package_upload.rb +10 -1
  107. data/lib/cloudsmith-api/models/deb_upstream.rb +7 -4
  108. data/lib/cloudsmith-api/models/docker_package_upload.rb +10 -1
  109. data/lib/cloudsmith-api/models/docker_upstream.rb +4 -2
  110. data/lib/cloudsmith-api/models/format_support.rb +16 -1
  111. data/lib/cloudsmith-api/models/format_support_upstream.rb +19 -4
  112. data/lib/cloudsmith-api/models/generic_package_upload.rb +1001 -0
  113. data/lib/cloudsmith-api/models/generic_package_upload_request.rb +245 -0
  114. data/lib/cloudsmith-api/models/generic_upstream.rb +506 -0
  115. data/lib/cloudsmith-api/models/generic_upstream_request.rb +375 -0
  116. data/lib/cloudsmith-api/models/generic_upstream_request_patch.rb +365 -0
  117. data/lib/cloudsmith-api/models/go_package_upload.rb +10 -1
  118. data/lib/cloudsmith-api/models/go_upstream.rb +7 -4
  119. data/lib/cloudsmith-api/models/helm_package_upload.rb +10 -1
  120. data/lib/cloudsmith-api/models/helm_upstream.rb +7 -4
  121. data/lib/cloudsmith-api/models/hex_package_upload.rb +10 -1
  122. data/lib/cloudsmith-api/models/hex_upstream.rb +7 -4
  123. data/lib/cloudsmith-api/models/huggingface_package_upload.rb +10 -1
  124. data/lib/cloudsmith-api/models/huggingface_upstream.rb +7 -4
  125. data/lib/cloudsmith-api/models/luarocks_package_upload.rb +10 -1
  126. data/lib/cloudsmith-api/models/maven_package_upload.rb +10 -1
  127. data/lib/cloudsmith-api/models/maven_upstream.rb +32 -5
  128. data/lib/cloudsmith-api/models/maven_upstream_request.rb +25 -1
  129. data/lib/cloudsmith-api/models/maven_upstream_request_patch.rb +25 -1
  130. data/lib/cloudsmith-api/models/npm_package_upload.rb +10 -1
  131. data/lib/cloudsmith-api/models/npm_upstream.rb +32 -5
  132. data/lib/cloudsmith-api/models/npm_upstream_request.rb +25 -1
  133. data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +25 -1
  134. data/lib/cloudsmith-api/models/nuget_package_upload.rb +10 -1
  135. data/lib/cloudsmith-api/models/nuget_upstream.rb +7 -4
  136. data/lib/cloudsmith-api/models/organization_team.rb +1 -0
  137. data/lib/cloudsmith-api/models/organization_team_members.rb +1 -1
  138. data/lib/cloudsmith-api/models/organization_team_request.rb +1 -0
  139. data/lib/cloudsmith-api/models/organization_team_request_patch.rb +1 -0
  140. data/lib/cloudsmith-api/models/{organization_team_membership.rb → organization_team_service_member.rb} +28 -5
  141. data/lib/cloudsmith-api/models/p2_package_upload.rb +10 -1
  142. data/lib/cloudsmith-api/models/package.rb +20 -1
  143. data/lib/cloudsmith-api/models/package_bulk_action.rb +261 -0
  144. data/lib/cloudsmith-api/models/package_bulk_action_response.rb +209 -0
  145. data/lib/cloudsmith-api/models/package_copy.rb +20 -1
  146. data/lib/cloudsmith-api/models/package_copy_request.rb +1 -0
  147. data/lib/cloudsmith-api/models/package_move.rb +20 -1
  148. data/lib/cloudsmith-api/models/package_move_request.rb +1 -0
  149. data/lib/cloudsmith-api/models/package_quarantine.rb +20 -1
  150. data/lib/cloudsmith-api/models/package_resync.rb +20 -1
  151. data/lib/cloudsmith-api/models/package_tag.rb +20 -1
  152. data/lib/cloudsmith-api/models/python_package_upload.rb +10 -1
  153. data/lib/cloudsmith-api/models/python_upstream.rb +7 -4
  154. data/lib/cloudsmith-api/models/raw_package_upload.rb +10 -1
  155. data/lib/cloudsmith-api/models/repository.rb +21 -1
  156. data/lib/cloudsmith-api/models/repository_create.rb +21 -1
  157. data/lib/cloudsmith-api/models/repository_create_request.rb +11 -1
  158. data/lib/cloudsmith-api/models/repository_request_patch.rb +11 -1
  159. data/lib/cloudsmith-api/models/rpm_package_upload.rb +10 -1
  160. data/lib/cloudsmith-api/models/rpm_upstream.rb +7 -4
  161. data/lib/cloudsmith-api/models/ruby_package_upload.rb +10 -1
  162. data/lib/cloudsmith-api/models/ruby_upstream.rb +7 -4
  163. data/lib/cloudsmith-api/models/swift_package_upload.rb +10 -1
  164. data/lib/cloudsmith-api/models/swift_upstream.rb +7 -4
  165. data/lib/cloudsmith-api/models/terraform_package_upload.rb +10 -1
  166. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +10 -1
  167. data/lib/cloudsmith-api/models/vsx_package_upload.rb +1001 -0
  168. data/lib/cloudsmith-api/models/vsx_package_upload_request.rb +210 -0
  169. data/lib/cloudsmith-api/version.rb +1 -1
  170. data/lib/cloudsmith-api.rb +14 -1
  171. data/spec/api/bulk_action_api_spec.rb +47 -0
  172. data/spec/api/packages_api_spec.rb +56 -0
  173. data/spec/api/repos_api_spec.rb +176 -0
  174. data/spec/models/alpine_package_upload_spec.rb +6 -0
  175. data/spec/models/alpine_upstream_request_patch_spec.rb +121 -0
  176. data/spec/models/alpine_upstream_request_spec.rb +121 -0
  177. data/spec/models/alpine_upstream_spec.rb +197 -0
  178. data/spec/models/cargo_package_upload_spec.rb +6 -0
  179. data/spec/models/cocoapods_package_upload_spec.rb +6 -0
  180. data/spec/models/composer_package_upload_spec.rb +6 -0
  181. data/spec/models/conan_package_upload_spec.rb +6 -0
  182. data/spec/models/conda_package_upload_spec.rb +6 -0
  183. data/spec/models/cran_package_upload_spec.rb +6 -0
  184. data/spec/models/dart_package_upload_spec.rb +6 -0
  185. data/spec/models/deb_package_upload_spec.rb +6 -0
  186. data/spec/models/docker_package_upload_spec.rb +6 -0
  187. data/spec/models/format_support_spec.rb +6 -0
  188. data/spec/models/format_support_upstream_spec.rb +6 -0
  189. data/spec/models/generic_package_upload_request_spec.rb +71 -0
  190. data/spec/models/generic_package_upload_spec.rb +543 -0
  191. data/spec/models/generic_upstream_request_patch_spec.rb +127 -0
  192. data/spec/models/generic_upstream_request_spec.rb +127 -0
  193. data/spec/models/generic_upstream_spec.rb +203 -0
  194. data/spec/models/go_package_upload_spec.rb +6 -0
  195. data/spec/models/helm_package_upload_spec.rb +6 -0
  196. data/spec/models/hex_package_upload_spec.rb +6 -0
  197. data/spec/models/huggingface_package_upload_spec.rb +6 -0
  198. data/spec/models/luarocks_package_upload_spec.rb +6 -0
  199. data/spec/models/maven_package_upload_spec.rb +6 -0
  200. data/spec/models/maven_upstream_request_patch_spec.rb +10 -0
  201. data/spec/models/maven_upstream_request_spec.rb +10 -0
  202. data/spec/models/maven_upstream_spec.rb +10 -0
  203. data/spec/models/npm_package_upload_spec.rb +6 -0
  204. data/spec/models/npm_upstream_request_patch_spec.rb +10 -0
  205. data/spec/models/npm_upstream_request_spec.rb +10 -0
  206. data/spec/models/npm_upstream_spec.rb +10 -0
  207. data/spec/models/nuget_package_upload_spec.rb +6 -0
  208. data/spec/models/{organization_team_membership_spec.rb → organization_team_service_member_spec.rb} +16 -6
  209. data/spec/models/p2_package_upload_spec.rb +6 -0
  210. data/spec/models/package_bulk_action_response_spec.rb +53 -0
  211. data/spec/models/package_bulk_action_spec.rb +63 -0
  212. data/spec/models/package_copy_spec.rb +12 -0
  213. data/spec/models/package_move_spec.rb +12 -0
  214. data/spec/models/package_quarantine_spec.rb +12 -0
  215. data/spec/models/package_resync_spec.rb +12 -0
  216. data/spec/models/package_spec.rb +12 -0
  217. data/spec/models/package_tag_spec.rb +12 -0
  218. data/spec/models/python_package_upload_spec.rb +6 -0
  219. data/spec/models/raw_package_upload_spec.rb +6 -0
  220. data/spec/models/repository_create_request_spec.rb +6 -0
  221. data/spec/models/repository_create_spec.rb +12 -0
  222. data/spec/models/repository_request_patch_spec.rb +6 -0
  223. data/spec/models/repository_spec.rb +12 -0
  224. data/spec/models/rpm_package_upload_spec.rb +6 -0
  225. data/spec/models/ruby_package_upload_spec.rb +6 -0
  226. data/spec/models/swift_package_upload_spec.rb +6 -0
  227. data/spec/models/terraform_package_upload_spec.rb +6 -0
  228. data/spec/models/vagrant_package_upload_spec.rb +6 -0
  229. data/spec/models/vsx_package_upload_request_spec.rb +53 -0
  230. data/spec/models/vsx_package_upload_spec.rb +543 -0
  231. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.9.gem +0 -0
  232. data/vendor/bundle/ruby/2.6.0/cache/ethon-0.18.0.gem +0 -0
  233. data/vendor/bundle/ruby/2.6.0/cache/logger-1.7.0.gem +0 -0
  234. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.13.8.gem +0 -0
  235. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.13.7.gem +0 -0
  236. data/vendor/bundle/ruby/2.6.0/cache/typhoeus-1.6.0.gem +0 -0
  237. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.1/gem_make.out +1 -1
  238. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.0.1/gem_make.out +2 -2
  239. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.0.1/mkmf.log +4 -4
  240. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.3/gem_make.out +2 -2
  241. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.3/mkmf.log +1 -1
  242. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
  243. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
  244. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/CHANGELOG.md +10 -1
  245. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/idna/pure.rb +0 -10
  246. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/version.rb +1 -1
  247. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.0.1/ext/bigdecimal/Makefile +2 -2
  248. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/CHANGELOG.md +46 -1
  249. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/README.md +23 -0
  250. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.18.0/ethon.gemspec +37 -0
  251. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/classes.rb +12 -2
  252. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/codes.rb +3 -2
  253. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/options.rb +4 -3
  254. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/callbacks.rb +10 -3
  255. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/informations.rb +3 -0
  256. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/response_callbacks.rb +6 -1
  257. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/loggable.rb +0 -1
  258. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/version.rb +1 -1
  259. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.3/ext/ffi_c/Makefile +2 -2
  260. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
  261. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
  262. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/.document +4 -0
  263. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/.rdoc_options +3 -0
  264. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/BSDL +22 -0
  265. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/COPYING +56 -0
  266. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/README.md +104 -0
  267. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/errors.rb +9 -0
  268. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/formatter.rb +36 -0
  269. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/log_device.rb +265 -0
  270. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/period.rb +47 -0
  271. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/severity.rb +38 -0
  272. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/version.rb +5 -0
  273. data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger.rb +789 -0
  274. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/Changelog.md +9 -1
  275. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/recorder.rb +3 -1
  276. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/order_group.rb +15 -4
  277. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/version.rb +1 -1
  278. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/Changelog.md +10 -3
  279. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/fuzzy_matcher.rb +3 -0
  280. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/version.rb +1 -1
  281. data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/CHANGELOG.md +14 -1
  282. data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/README.md +2 -2
  283. data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/version.rb +1 -1
  284. data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/typhoeus.gemspec +1 -1
  285. data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.8.gemspec → addressable-2.8.9.gemspec} +3 -5
  286. data/vendor/bundle/ruby/2.6.0/specifications/{ethon-0.15.0.gemspec → ethon-0.18.0.gemspec} +8 -4
  287. data/vendor/bundle/ruby/2.6.0/specifications/logger-1.7.0.gemspec +22 -0
  288. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.13.7.gemspec → rspec-mocks-3.13.8.gemspec} +5 -5
  289. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.13.6.gemspec → rspec-support-3.13.7.gemspec} +4 -4
  290. data/vendor/bundle/ruby/2.6.0/specifications/{typhoeus-1.5.0.gemspec → typhoeus-1.6.0.gemspec} +5 -5
  291. metadata +284 -278
  292. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.8.gem +0 -0
  293. data/vendor/bundle/ruby/2.6.0/cache/ethon-0.15.0.gem +0 -0
  294. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.13.7.gem +0 -0
  295. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.13.6.gem +0 -0
  296. data/vendor/bundle/ruby/2.6.0/cache/typhoeus-1.5.0.gem +0 -0
  297. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/Gemfile +0 -31
  298. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/Rakefile +0 -37
  299. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/addressable.gemspec +0 -28
  300. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/idna_spec.rb +0 -302
  301. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/net_http_compat_spec.rb +0 -29
  302. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/security_spec.rb +0 -58
  303. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/template_spec.rb +0 -1264
  304. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/uri_spec.rb +0 -6854
  305. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/spec_helper.rb +0 -33
  306. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/clobber.rake +0 -4
  307. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/gem.rake +0 -100
  308. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/git.rake +0 -47
  309. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/metrics.rake +0 -24
  310. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/profile.rake +0 -72
  311. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/rspec.rake +0 -23
  312. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/yard.rake +0 -29
  313. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +0 -41
  314. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/.gitignore +0 -8
  315. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/.rspec +0 -3
  316. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/Gemfile +0 -43
  317. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/Guardfile +0 -10
  318. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/Rakefile +0 -40
  319. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/ethon.gemspec +0 -26
  320. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/benchmarks.rb +0 -104
  321. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/memory_leaks.rb +0 -114
  322. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/perf_spec_helper.rb +0 -37
  323. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/support/memory_test_helpers.rb +0 -76
  324. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/support/os_memory_leak_tracker.rb +0 -48
  325. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/support/ruby_object_leak_tracker.rb +0 -49
  326. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/curl_spec.rb +0 -38
  327. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +0 -59
  328. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/debug_info_spec.rb +0 -54
  329. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/features_spec.rb +0 -24
  330. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/form_spec.rb +0 -104
  331. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/header_spec.rb +0 -79
  332. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/custom_spec.rb +0 -177
  333. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/delete_spec.rb +0 -21
  334. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/get_spec.rb +0 -126
  335. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/head_spec.rb +0 -80
  336. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/options_spec.rb +0 -51
  337. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/patch_spec.rb +0 -51
  338. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/post_spec.rb +0 -317
  339. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/put_spec.rb +0 -168
  340. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http_spec.rb +0 -64
  341. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +0 -120
  342. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +0 -47
  343. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +0 -268
  344. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/options_spec.rb +0 -193
  345. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/queryable_spec.rb +0 -235
  346. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/response_callbacks_spec.rb +0 -152
  347. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/util_spec.rb +0 -28
  348. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy_spec.rb +0 -203
  349. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/libc_spec.rb +0 -14
  350. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb +0 -22
  351. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi/operations_spec.rb +0 -298
  352. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +0 -182
  353. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi/stack_spec.rb +0 -80
  354. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +0 -152
  355. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/spec_helper.rb +0 -28
  356. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/support/localhost_server.rb +0 -95
  357. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/support/server.rb +0 -115
  358. /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/LICENSE.txt +0 -0
  359. /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/README.md +0 -0
  360. /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/idna/native.rb +0 -0
  361. /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/idna.rb +0 -0
  362. /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/template.rb +0 -0
  363. /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/uri.rb +0 -0
  364. /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable.rb +0 -0
  365. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/LICENSE +0 -0
  366. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curl.rb +0 -0
  367. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/constants.rb +0 -0
  368. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/form_options.rb +0 -0
  369. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/functions.rb +0 -0
  370. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/infos.rb +0 -0
  371. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/messages.rb +0 -0
  372. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/settings.rb +0 -0
  373. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/debug_info.rb +0 -0
  374. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/features.rb +0 -0
  375. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/form.rb +0 -0
  376. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/header.rb +0 -0
  377. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/actionable.rb +0 -0
  378. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/custom.rb +0 -0
  379. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/delete.rb +0 -0
  380. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/get.rb +0 -0
  381. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/head.rb +0 -0
  382. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/options.rb +0 -0
  383. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/patch.rb +0 -0
  384. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/post.rb +0 -0
  385. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/postable.rb +0 -0
  386. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/put.rb +0 -0
  387. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/putable.rb +0 -0
  388. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http.rb +0 -0
  389. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/mirror.rb +0 -0
  390. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/operations.rb +0 -0
  391. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/options.rb +0 -0
  392. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/params.rb +0 -0
  393. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/queryable.rb +0 -0
  394. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/util.rb +0 -0
  395. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy.rb +0 -0
  396. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/ethon_error.rb +0 -0
  397. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/global_init.rb +0 -0
  398. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/invalid_option.rb +0 -0
  399. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/invalid_value.rb +0 -0
  400. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_add.rb +0 -0
  401. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_fdset.rb +0 -0
  402. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_remove.rb +0 -0
  403. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_timeout.rb +0 -0
  404. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/select.rb +0 -0
  405. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors.rb +0 -0
  406. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/libc.rb +0 -0
  407. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi/operations.rb +0 -0
  408. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi/options.rb +0 -0
  409. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi/stack.rb +0 -0
  410. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi.rb +0 -0
  411. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon.rb +0 -0
  412. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/.document +0 -0
  413. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/.yardopts +0 -0
  414. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/LICENSE.md +0 -0
  415. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/README.md +0 -0
  416. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  417. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  418. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  419. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  420. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  421. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  422. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  423. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  424. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance.rb +0 -0
  425. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
  426. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/argument_matchers.rb +0 -0
  427. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/configuration.rb +0 -0
  428. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/error_generator.rb +0 -0
  429. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/example_methods.rb +0 -0
  430. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  431. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/marshal_extension.rb +0 -0
  432. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  433. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  434. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/receive.rb +0 -0
  435. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  436. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  437. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/message_chain.rb +0 -0
  438. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/message_expectation.rb +0 -0
  439. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/method_double.rb +0 -0
  440. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/method_reference.rb +0 -0
  441. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/minitest_integration.rb +0 -0
  442. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/mutate_const.rb +0 -0
  443. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/object_reference.rb +0 -0
  444. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/proxy.rb +0 -0
  445. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/space.rb +0 -0
  446. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/standalone.rb +0 -0
  447. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/syntax.rb +0 -0
  448. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/targets.rb +0 -0
  449. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/test_double.rb +0 -0
  450. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/verifying_double.rb +0 -0
  451. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  452. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  453. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks.rb +0 -0
  454. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/LICENSE.md +0 -0
  455. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/README.md +0 -0
  456. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/caller_filter.rb +0 -0
  457. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/comparable_version.rb +0 -0
  458. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/differ.rb +0 -0
  459. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/directory_maker.rb +0 -0
  460. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/encoded_string.rb +0 -0
  461. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/hunk_generator.rb +0 -0
  462. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/matcher_definition.rb +0 -0
  463. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/method_signature_verifier.rb +0 -0
  464. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/mutex.rb +0 -0
  465. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/object_formatter.rb +0 -0
  466. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/recursive_const_methods.rb +0 -0
  467. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/reentrant_mutex.rb +0 -0
  468. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/ruby_features.rb +0 -0
  469. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source/location.rb +0 -0
  470. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source/node.rb +0 -0
  471. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source/token.rb +0 -0
  472. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source.rb +0 -0
  473. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  474. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  475. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/formatting_support.rb +0 -0
  476. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/in_sub_process.rb +0 -0
  477. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  478. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/shell_out.rb +0 -0
  479. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
  480. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/string_matcher.rb +0 -0
  481. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  482. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  483. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec.rb +0 -0
  484. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/warnings.rb +0 -0
  485. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
  486. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support.rb +0 -0
  487. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/CONTRIBUTING.md +0 -0
  488. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/LICENSE +0 -0
  489. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/UPGRADE.md +0 -0
  490. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/rack/typhoeus/middleware/params_decoder/helper.rb +0 -0
  491. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/rack/typhoeus/middleware/params_decoder.rb +0 -0
  492. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/rack/typhoeus.rb +0 -0
  493. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/adapters/faraday.rb +0 -0
  494. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/cache/dalli.rb +0 -0
  495. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/cache/rails.rb +0 -0
  496. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/cache/redis.rb +0 -0
  497. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/config.rb +0 -0
  498. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/easy_factory.rb +0 -0
  499. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/errors/no_stub.rb +0 -0
  500. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/errors/typhoeus_error.rb +0 -0
  501. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/errors.rb +0 -0
  502. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/expectation.rb +0 -0
  503. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/addable.rb +0 -0
  504. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/before.rb +0 -0
  505. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/block_connection.rb +0 -0
  506. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/cacheable.rb +0 -0
  507. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/memoizable.rb +0 -0
  508. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/queueable.rb +0 -0
  509. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/runnable.rb +0 -0
  510. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/stubbable.rb +0 -0
  511. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra.rb +0 -0
  512. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/pool.rb +0 -0
  513. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/railtie.rb +0 -0
  514. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/actions.rb +0 -0
  515. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/before.rb +0 -0
  516. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/block_connection.rb +0 -0
  517. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/cacheable.rb +0 -0
  518. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/callbacks.rb +0 -0
  519. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/marshal.rb +0 -0
  520. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/memoizable.rb +0 -0
  521. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/operations.rb +0 -0
  522. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/responseable.rb +0 -0
  523. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/streamable.rb +0 -0
  524. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/stubbable.rb +0 -0
  525. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request.rb +0 -0
  526. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/cacheable.rb +0 -0
  527. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/header.rb +0 -0
  528. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/informations.rb +0 -0
  529. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/status.rb +0 -0
  530. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response.rb +0 -0
  531. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus.rb +0 -0
@@ -1054,6 +1054,8 @@ module CloudsmithApi
1054
1054
  # @param [Hash] opts the optional parameters
1055
1055
  # @option opts [Integer] :page A page number within the paginated result set.
1056
1056
  # @option opts [Integer] :page_size Number of results to return per page.
1057
+ # @option opts [String] :query A search term for querying repositories. Available options are: name, slug. Explicit filters: broadcast_state, repository_type. (default to )
1058
+ # @option opts [String] :sort A field for sorting objects in ascending or descending order. (default to -created_at)
1057
1059
  # @return [Array<Repository>]
1058
1060
  def repos_namespace_list(owner, opts = {})
1059
1061
  data, _status_code, _headers = repos_namespace_list_with_http_info(owner, opts)
@@ -1066,6 +1068,8 @@ module CloudsmithApi
1066
1068
  # @param [Hash] opts the optional parameters
1067
1069
  # @option opts [Integer] :page A page number within the paginated result set.
1068
1070
  # @option opts [Integer] :page_size Number of results to return per page.
1071
+ # @option opts [String] :query A search term for querying repositories. Available options are: name, slug. Explicit filters: broadcast_state, repository_type.
1072
+ # @option opts [String] :sort A field for sorting objects in ascending or descending order.
1069
1073
  # @return [Array<(Array<Repository>, Fixnum, Hash)>] Array<Repository> data, response status code and response headers
1070
1074
  def repos_namespace_list_with_http_info(owner, opts = {})
1071
1075
  if @api_client.config.debugging
@@ -1082,6 +1086,8 @@ module CloudsmithApi
1082
1086
  query_params = {}
1083
1087
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1084
1088
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1089
+ query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
1090
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1085
1091
 
1086
1092
  # header parameters
1087
1093
  header_params = {}
@@ -1661,39 +1667,39 @@ module CloudsmithApi
1661
1667
  end
1662
1668
  return data, status_code, headers
1663
1669
  end
1664
- # Create a Cargo upstream config for this repository.
1665
- # Create a Cargo upstream config for this repository.
1670
+ # Create an Alpine upstream config for this repository.
1671
+ # Create an Alpine upstream config for this repository.
1666
1672
  # @param owner
1667
1673
  # @param identifier
1668
1674
  # @param [Hash] opts the optional parameters
1669
- # @option opts [CargoUpstreamRequest] :data
1670
- # @return [CargoUpstream]
1671
- def repos_upstream_cargo_create(owner, identifier, opts = {})
1672
- data, _status_code, _headers = repos_upstream_cargo_create_with_http_info(owner, identifier, opts)
1675
+ # @option opts [AlpineUpstreamRequest] :data
1676
+ # @return [AlpineUpstream]
1677
+ def repos_upstream_alpine_create(owner, identifier, opts = {})
1678
+ data, _status_code, _headers = repos_upstream_alpine_create_with_http_info(owner, identifier, opts)
1673
1679
  data
1674
1680
  end
1675
1681
 
1676
- # Create a Cargo upstream config for this repository.
1677
- # Create a Cargo upstream config for this repository.
1682
+ # Create an Alpine upstream config for this repository.
1683
+ # Create an Alpine upstream config for this repository.
1678
1684
  # @param owner
1679
1685
  # @param identifier
1680
1686
  # @param [Hash] opts the optional parameters
1681
- # @option opts [CargoUpstreamRequest] :data
1682
- # @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
1683
- def repos_upstream_cargo_create_with_http_info(owner, identifier, opts = {})
1687
+ # @option opts [AlpineUpstreamRequest] :data
1688
+ # @return [Array<(AlpineUpstream, Fixnum, Hash)>] AlpineUpstream data, response status code and response headers
1689
+ def repos_upstream_alpine_create_with_http_info(owner, identifier, opts = {})
1684
1690
  if @api_client.config.debugging
1685
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_create ...'
1691
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_create ...'
1686
1692
  end
1687
1693
  # verify the required parameter 'owner' is set
1688
1694
  if @api_client.config.client_side_validation && owner.nil?
1689
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_create"
1695
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_create"
1690
1696
  end
1691
1697
  # verify the required parameter 'identifier' is set
1692
1698
  if @api_client.config.client_side_validation && identifier.nil?
1693
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_create"
1699
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_create"
1694
1700
  end
1695
1701
  # resource path
1696
- local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
1702
+ local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
1697
1703
 
1698
1704
  # query parameters
1699
1705
  query_params = {}
@@ -1717,49 +1723,49 @@ module CloudsmithApi
1717
1723
  :form_params => form_params,
1718
1724
  :body => post_body,
1719
1725
  :auth_names => auth_names,
1720
- :return_type => 'CargoUpstream')
1726
+ :return_type => 'AlpineUpstream')
1721
1727
  if @api_client.config.debugging
1722
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1728
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1723
1729
  end
1724
1730
  return data, status_code, headers
1725
1731
  end
1726
- # Delete a Cargo upstream config for this repository.
1727
- # Delete a Cargo upstream config for this repository.
1732
+ # Delete an Alpine upstream config for this repository.
1733
+ # Delete an Alpine upstream config for this repository.
1728
1734
  # @param owner
1729
1735
  # @param identifier
1730
1736
  # @param slug_perm
1731
1737
  # @param [Hash] opts the optional parameters
1732
1738
  # @return [nil]
1733
- def repos_upstream_cargo_delete(owner, identifier, slug_perm, opts = {})
1734
- repos_upstream_cargo_delete_with_http_info(owner, identifier, slug_perm, opts)
1739
+ def repos_upstream_alpine_delete(owner, identifier, slug_perm, opts = {})
1740
+ repos_upstream_alpine_delete_with_http_info(owner, identifier, slug_perm, opts)
1735
1741
  nil
1736
1742
  end
1737
1743
 
1738
- # Delete a Cargo upstream config for this repository.
1739
- # Delete a Cargo upstream config for this repository.
1744
+ # Delete an Alpine upstream config for this repository.
1745
+ # Delete an Alpine upstream config for this repository.
1740
1746
  # @param owner
1741
1747
  # @param identifier
1742
1748
  # @param slug_perm
1743
1749
  # @param [Hash] opts the optional parameters
1744
1750
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1745
- def repos_upstream_cargo_delete_with_http_info(owner, identifier, slug_perm, opts = {})
1751
+ def repos_upstream_alpine_delete_with_http_info(owner, identifier, slug_perm, opts = {})
1746
1752
  if @api_client.config.debugging
1747
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_delete ...'
1753
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_delete ...'
1748
1754
  end
1749
1755
  # verify the required parameter 'owner' is set
1750
1756
  if @api_client.config.client_side_validation && owner.nil?
1751
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_delete"
1757
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_delete"
1752
1758
  end
1753
1759
  # verify the required parameter 'identifier' is set
1754
1760
  if @api_client.config.client_side_validation && identifier.nil?
1755
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_delete"
1761
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_delete"
1756
1762
  end
1757
1763
  # verify the required parameter 'slug_perm' is set
1758
1764
  if @api_client.config.client_side_validation && slug_perm.nil?
1759
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_delete"
1765
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_alpine_delete"
1760
1766
  end
1761
1767
  # resource path
1762
- local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
1768
+ local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
1763
1769
 
1764
1770
  # query parameters
1765
1771
  query_params = {}
@@ -1784,45 +1790,45 @@ module CloudsmithApi
1784
1790
  :body => post_body,
1785
1791
  :auth_names => auth_names)
1786
1792
  if @api_client.config.debugging
1787
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1793
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1788
1794
  end
1789
1795
  return data, status_code, headers
1790
1796
  end
1791
- # List Cargo upstream configs for this repository.
1792
- # List Cargo upstream configs for this repository.
1797
+ # List Alpine upstream configs for this repository.
1798
+ # List Alpine upstream configs for this repository.
1793
1799
  # @param owner
1794
1800
  # @param identifier
1795
1801
  # @param [Hash] opts the optional parameters
1796
1802
  # @option opts [Integer] :page A page number within the paginated result set.
1797
1803
  # @option opts [Integer] :page_size Number of results to return per page.
1798
- # @return [Array<CargoUpstream>]
1799
- def repos_upstream_cargo_list(owner, identifier, opts = {})
1800
- data, _status_code, _headers = repos_upstream_cargo_list_with_http_info(owner, identifier, opts)
1804
+ # @return [Array<AlpineUpstream>]
1805
+ def repos_upstream_alpine_list(owner, identifier, opts = {})
1806
+ data, _status_code, _headers = repos_upstream_alpine_list_with_http_info(owner, identifier, opts)
1801
1807
  data
1802
1808
  end
1803
1809
 
1804
- # List Cargo upstream configs for this repository.
1805
- # List Cargo upstream configs for this repository.
1810
+ # List Alpine upstream configs for this repository.
1811
+ # List Alpine upstream configs for this repository.
1806
1812
  # @param owner
1807
1813
  # @param identifier
1808
1814
  # @param [Hash] opts the optional parameters
1809
1815
  # @option opts [Integer] :page A page number within the paginated result set.
1810
1816
  # @option opts [Integer] :page_size Number of results to return per page.
1811
- # @return [Array<(Array<CargoUpstream>, Fixnum, Hash)>] Array<CargoUpstream> data, response status code and response headers
1812
- def repos_upstream_cargo_list_with_http_info(owner, identifier, opts = {})
1817
+ # @return [Array<(Array<AlpineUpstream>, Fixnum, Hash)>] Array<AlpineUpstream> data, response status code and response headers
1818
+ def repos_upstream_alpine_list_with_http_info(owner, identifier, opts = {})
1813
1819
  if @api_client.config.debugging
1814
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_list ...'
1820
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_list ...'
1815
1821
  end
1816
1822
  # verify the required parameter 'owner' is set
1817
1823
  if @api_client.config.client_side_validation && owner.nil?
1818
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_list"
1824
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_list"
1819
1825
  end
1820
1826
  # verify the required parameter 'identifier' is set
1821
1827
  if @api_client.config.client_side_validation && identifier.nil?
1822
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_list"
1828
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_list"
1823
1829
  end
1824
1830
  # resource path
1825
- local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
1831
+ local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
1826
1832
 
1827
1833
  # query parameters
1828
1834
  query_params = {}
@@ -1848,51 +1854,51 @@ module CloudsmithApi
1848
1854
  :form_params => form_params,
1849
1855
  :body => post_body,
1850
1856
  :auth_names => auth_names,
1851
- :return_type => 'Array<CargoUpstream>')
1857
+ :return_type => 'Array<AlpineUpstream>')
1852
1858
  if @api_client.config.debugging
1853
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1859
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1854
1860
  end
1855
1861
  return data, status_code, headers
1856
1862
  end
1857
- # Partially update a Cargo upstream config for this repository.
1858
- # Partially update a Cargo upstream config for this repository.
1863
+ # Partially update an Alpine upstream config for this repository.
1864
+ # Partially update an Alpine upstream config for this repository.
1859
1865
  # @param owner
1860
1866
  # @param identifier
1861
1867
  # @param slug_perm
1862
1868
  # @param [Hash] opts the optional parameters
1863
- # @option opts [CargoUpstreamRequestPatch] :data
1864
- # @return [CargoUpstream]
1865
- def repos_upstream_cargo_partial_update(owner, identifier, slug_perm, opts = {})
1866
- data, _status_code, _headers = repos_upstream_cargo_partial_update_with_http_info(owner, identifier, slug_perm, opts)
1869
+ # @option opts [AlpineUpstreamRequestPatch] :data
1870
+ # @return [AlpineUpstream]
1871
+ def repos_upstream_alpine_partial_update(owner, identifier, slug_perm, opts = {})
1872
+ data, _status_code, _headers = repos_upstream_alpine_partial_update_with_http_info(owner, identifier, slug_perm, opts)
1867
1873
  data
1868
1874
  end
1869
1875
 
1870
- # Partially update a Cargo upstream config for this repository.
1871
- # Partially update a Cargo upstream config for this repository.
1876
+ # Partially update an Alpine upstream config for this repository.
1877
+ # Partially update an Alpine upstream config for this repository.
1872
1878
  # @param owner
1873
1879
  # @param identifier
1874
1880
  # @param slug_perm
1875
1881
  # @param [Hash] opts the optional parameters
1876
- # @option opts [CargoUpstreamRequestPatch] :data
1877
- # @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
1878
- def repos_upstream_cargo_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
1882
+ # @option opts [AlpineUpstreamRequestPatch] :data
1883
+ # @return [Array<(AlpineUpstream, Fixnum, Hash)>] AlpineUpstream data, response status code and response headers
1884
+ def repos_upstream_alpine_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
1879
1885
  if @api_client.config.debugging
1880
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_partial_update ...'
1886
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_partial_update ...'
1881
1887
  end
1882
1888
  # verify the required parameter 'owner' is set
1883
1889
  if @api_client.config.client_side_validation && owner.nil?
1884
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_partial_update"
1890
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_partial_update"
1885
1891
  end
1886
1892
  # verify the required parameter 'identifier' is set
1887
1893
  if @api_client.config.client_side_validation && identifier.nil?
1888
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_partial_update"
1894
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_partial_update"
1889
1895
  end
1890
1896
  # verify the required parameter 'slug_perm' is set
1891
1897
  if @api_client.config.client_side_validation && slug_perm.nil?
1892
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_partial_update"
1898
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_alpine_partial_update"
1893
1899
  end
1894
1900
  # resource path
1895
- local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
1901
+ local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
1896
1902
 
1897
1903
  # query parameters
1898
1904
  query_params = {}
@@ -1916,49 +1922,49 @@ module CloudsmithApi
1916
1922
  :form_params => form_params,
1917
1923
  :body => post_body,
1918
1924
  :auth_names => auth_names,
1919
- :return_type => 'CargoUpstream')
1925
+ :return_type => 'AlpineUpstream')
1920
1926
  if @api_client.config.debugging
1921
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1927
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1922
1928
  end
1923
1929
  return data, status_code, headers
1924
1930
  end
1925
- # Retrieve a Cargo upstream config for this repository.
1926
- # Retrieve a Cargo upstream config for this repository.
1931
+ # Retrieve an Alpine upstream config for this repository.
1932
+ # Retrieve an Alpine upstream config for this repository.
1927
1933
  # @param owner
1928
1934
  # @param identifier
1929
1935
  # @param slug_perm
1930
1936
  # @param [Hash] opts the optional parameters
1931
- # @return [CargoUpstream]
1932
- def repos_upstream_cargo_read(owner, identifier, slug_perm, opts = {})
1933
- data, _status_code, _headers = repos_upstream_cargo_read_with_http_info(owner, identifier, slug_perm, opts)
1937
+ # @return [AlpineUpstream]
1938
+ def repos_upstream_alpine_read(owner, identifier, slug_perm, opts = {})
1939
+ data, _status_code, _headers = repos_upstream_alpine_read_with_http_info(owner, identifier, slug_perm, opts)
1934
1940
  data
1935
1941
  end
1936
1942
 
1937
- # Retrieve a Cargo upstream config for this repository.
1938
- # Retrieve a Cargo upstream config for this repository.
1943
+ # Retrieve an Alpine upstream config for this repository.
1944
+ # Retrieve an Alpine upstream config for this repository.
1939
1945
  # @param owner
1940
1946
  # @param identifier
1941
1947
  # @param slug_perm
1942
1948
  # @param [Hash] opts the optional parameters
1943
- # @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
1944
- def repos_upstream_cargo_read_with_http_info(owner, identifier, slug_perm, opts = {})
1949
+ # @return [Array<(AlpineUpstream, Fixnum, Hash)>] AlpineUpstream data, response status code and response headers
1950
+ def repos_upstream_alpine_read_with_http_info(owner, identifier, slug_perm, opts = {})
1945
1951
  if @api_client.config.debugging
1946
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_read ...'
1952
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_read ...'
1947
1953
  end
1948
1954
  # verify the required parameter 'owner' is set
1949
1955
  if @api_client.config.client_side_validation && owner.nil?
1950
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_read"
1956
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_read"
1951
1957
  end
1952
1958
  # verify the required parameter 'identifier' is set
1953
1959
  if @api_client.config.client_side_validation && identifier.nil?
1954
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_read"
1960
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_read"
1955
1961
  end
1956
1962
  # verify the required parameter 'slug_perm' is set
1957
1963
  if @api_client.config.client_side_validation && slug_perm.nil?
1958
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_read"
1964
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_alpine_read"
1959
1965
  end
1960
1966
  # resource path
1961
- local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
1967
+ local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
1962
1968
 
1963
1969
  # query parameters
1964
1970
  query_params = {}
@@ -1982,51 +1988,51 @@ module CloudsmithApi
1982
1988
  :form_params => form_params,
1983
1989
  :body => post_body,
1984
1990
  :auth_names => auth_names,
1985
- :return_type => 'CargoUpstream')
1991
+ :return_type => 'AlpineUpstream')
1986
1992
  if @api_client.config.debugging
1987
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1993
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1988
1994
  end
1989
1995
  return data, status_code, headers
1990
1996
  end
1991
- # Update a Cargo upstream config for this repository.
1992
- # Update a Cargo upstream config for this repository.
1997
+ # Update an Alpine upstream config for this repository.
1998
+ # Update an Alpine upstream config for this repository.
1993
1999
  # @param owner
1994
2000
  # @param identifier
1995
2001
  # @param slug_perm
1996
2002
  # @param [Hash] opts the optional parameters
1997
- # @option opts [CargoUpstreamRequest] :data
1998
- # @return [CargoUpstream]
1999
- def repos_upstream_cargo_update(owner, identifier, slug_perm, opts = {})
2000
- data, _status_code, _headers = repos_upstream_cargo_update_with_http_info(owner, identifier, slug_perm, opts)
2003
+ # @option opts [AlpineUpstreamRequest] :data
2004
+ # @return [AlpineUpstream]
2005
+ def repos_upstream_alpine_update(owner, identifier, slug_perm, opts = {})
2006
+ data, _status_code, _headers = repos_upstream_alpine_update_with_http_info(owner, identifier, slug_perm, opts)
2001
2007
  data
2002
2008
  end
2003
2009
 
2004
- # Update a Cargo upstream config for this repository.
2005
- # Update a Cargo upstream config for this repository.
2010
+ # Update an Alpine upstream config for this repository.
2011
+ # Update an Alpine upstream config for this repository.
2006
2012
  # @param owner
2007
2013
  # @param identifier
2008
2014
  # @param slug_perm
2009
2015
  # @param [Hash] opts the optional parameters
2010
- # @option opts [CargoUpstreamRequest] :data
2011
- # @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
2012
- def repos_upstream_cargo_update_with_http_info(owner, identifier, slug_perm, opts = {})
2016
+ # @option opts [AlpineUpstreamRequest] :data
2017
+ # @return [Array<(AlpineUpstream, Fixnum, Hash)>] AlpineUpstream data, response status code and response headers
2018
+ def repos_upstream_alpine_update_with_http_info(owner, identifier, slug_perm, opts = {})
2013
2019
  if @api_client.config.debugging
2014
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_update ...'
2020
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_alpine_update ...'
2015
2021
  end
2016
2022
  # verify the required parameter 'owner' is set
2017
2023
  if @api_client.config.client_side_validation && owner.nil?
2018
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_update"
2024
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_alpine_update"
2019
2025
  end
2020
2026
  # verify the required parameter 'identifier' is set
2021
2027
  if @api_client.config.client_side_validation && identifier.nil?
2022
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_update"
2028
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_alpine_update"
2023
2029
  end
2024
2030
  # verify the required parameter 'slug_perm' is set
2025
2031
  if @api_client.config.client_side_validation && slug_perm.nil?
2026
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_update"
2032
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_alpine_update"
2027
2033
  end
2028
2034
  # resource path
2029
- local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2035
+ local_var_path = '/repos/{owner}/{identifier}/upstream/alpine/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2030
2036
 
2031
2037
  # query parameters
2032
2038
  query_params = {}
@@ -2050,45 +2056,45 @@ module CloudsmithApi
2050
2056
  :form_params => form_params,
2051
2057
  :body => post_body,
2052
2058
  :auth_names => auth_names,
2053
- :return_type => 'CargoUpstream')
2059
+ :return_type => 'AlpineUpstream')
2054
2060
  if @api_client.config.debugging
2055
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2061
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_alpine_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2056
2062
  end
2057
2063
  return data, status_code, headers
2058
2064
  end
2059
- # Create a Composer upstream config for this repository.
2060
- # Create a Composer upstream config for this repository.
2065
+ # Create a Cargo upstream config for this repository.
2066
+ # Create a Cargo upstream config for this repository.
2061
2067
  # @param owner
2062
2068
  # @param identifier
2063
2069
  # @param [Hash] opts the optional parameters
2064
- # @option opts [ComposerUpstreamRequest] :data
2065
- # @return [ComposerUpstream]
2066
- def repos_upstream_composer_create(owner, identifier, opts = {})
2067
- data, _status_code, _headers = repos_upstream_composer_create_with_http_info(owner, identifier, opts)
2070
+ # @option opts [CargoUpstreamRequest] :data
2071
+ # @return [CargoUpstream]
2072
+ def repos_upstream_cargo_create(owner, identifier, opts = {})
2073
+ data, _status_code, _headers = repos_upstream_cargo_create_with_http_info(owner, identifier, opts)
2068
2074
  data
2069
2075
  end
2070
2076
 
2071
- # Create a Composer upstream config for this repository.
2072
- # Create a Composer upstream config for this repository.
2077
+ # Create a Cargo upstream config for this repository.
2078
+ # Create a Cargo upstream config for this repository.
2073
2079
  # @param owner
2074
2080
  # @param identifier
2075
2081
  # @param [Hash] opts the optional parameters
2076
- # @option opts [ComposerUpstreamRequest] :data
2077
- # @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
2078
- def repos_upstream_composer_create_with_http_info(owner, identifier, opts = {})
2082
+ # @option opts [CargoUpstreamRequest] :data
2083
+ # @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
2084
+ def repos_upstream_cargo_create_with_http_info(owner, identifier, opts = {})
2079
2085
  if @api_client.config.debugging
2080
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_create ...'
2086
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_create ...'
2081
2087
  end
2082
2088
  # verify the required parameter 'owner' is set
2083
2089
  if @api_client.config.client_side_validation && owner.nil?
2084
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_create"
2090
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_create"
2085
2091
  end
2086
2092
  # verify the required parameter 'identifier' is set
2087
2093
  if @api_client.config.client_side_validation && identifier.nil?
2088
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_create"
2094
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_create"
2089
2095
  end
2090
2096
  # resource path
2091
- local_var_path = '/repos/{owner}/{identifier}/upstream/composer/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
2097
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
2092
2098
 
2093
2099
  # query parameters
2094
2100
  query_params = {}
@@ -2112,49 +2118,49 @@ module CloudsmithApi
2112
2118
  :form_params => form_params,
2113
2119
  :body => post_body,
2114
2120
  :auth_names => auth_names,
2115
- :return_type => 'ComposerUpstream')
2121
+ :return_type => 'CargoUpstream')
2116
2122
  if @api_client.config.debugging
2117
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2123
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2118
2124
  end
2119
2125
  return data, status_code, headers
2120
2126
  end
2121
- # Delete a Composer upstream config for this repository.
2122
- # Delete a Composer upstream config for this repository.
2127
+ # Delete a Cargo upstream config for this repository.
2128
+ # Delete a Cargo upstream config for this repository.
2123
2129
  # @param owner
2124
2130
  # @param identifier
2125
2131
  # @param slug_perm
2126
2132
  # @param [Hash] opts the optional parameters
2127
2133
  # @return [nil]
2128
- def repos_upstream_composer_delete(owner, identifier, slug_perm, opts = {})
2129
- repos_upstream_composer_delete_with_http_info(owner, identifier, slug_perm, opts)
2134
+ def repos_upstream_cargo_delete(owner, identifier, slug_perm, opts = {})
2135
+ repos_upstream_cargo_delete_with_http_info(owner, identifier, slug_perm, opts)
2130
2136
  nil
2131
2137
  end
2132
2138
 
2133
- # Delete a Composer upstream config for this repository.
2134
- # Delete a Composer upstream config for this repository.
2139
+ # Delete a Cargo upstream config for this repository.
2140
+ # Delete a Cargo upstream config for this repository.
2135
2141
  # @param owner
2136
2142
  # @param identifier
2137
2143
  # @param slug_perm
2138
2144
  # @param [Hash] opts the optional parameters
2139
2145
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2140
- def repos_upstream_composer_delete_with_http_info(owner, identifier, slug_perm, opts = {})
2146
+ def repos_upstream_cargo_delete_with_http_info(owner, identifier, slug_perm, opts = {})
2141
2147
  if @api_client.config.debugging
2142
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_delete ...'
2148
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_delete ...'
2143
2149
  end
2144
2150
  # verify the required parameter 'owner' is set
2145
2151
  if @api_client.config.client_side_validation && owner.nil?
2146
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_delete"
2152
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_delete"
2147
2153
  end
2148
2154
  # verify the required parameter 'identifier' is set
2149
2155
  if @api_client.config.client_side_validation && identifier.nil?
2150
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_delete"
2156
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_delete"
2151
2157
  end
2152
2158
  # verify the required parameter 'slug_perm' is set
2153
2159
  if @api_client.config.client_side_validation && slug_perm.nil?
2154
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_delete"
2160
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_delete"
2155
2161
  end
2156
2162
  # resource path
2157
- local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2163
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2158
2164
 
2159
2165
  # query parameters
2160
2166
  query_params = {}
@@ -2179,45 +2185,45 @@ module CloudsmithApi
2179
2185
  :body => post_body,
2180
2186
  :auth_names => auth_names)
2181
2187
  if @api_client.config.debugging
2182
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2188
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2183
2189
  end
2184
2190
  return data, status_code, headers
2185
2191
  end
2186
- # List Composer upstream configs for this repository.
2187
- # List Composer upstream configs for this repository.
2192
+ # List Cargo upstream configs for this repository.
2193
+ # List Cargo upstream configs for this repository.
2188
2194
  # @param owner
2189
2195
  # @param identifier
2190
2196
  # @param [Hash] opts the optional parameters
2191
2197
  # @option opts [Integer] :page A page number within the paginated result set.
2192
2198
  # @option opts [Integer] :page_size Number of results to return per page.
2193
- # @return [Array<ComposerUpstream>]
2194
- def repos_upstream_composer_list(owner, identifier, opts = {})
2195
- data, _status_code, _headers = repos_upstream_composer_list_with_http_info(owner, identifier, opts)
2199
+ # @return [Array<CargoUpstream>]
2200
+ def repos_upstream_cargo_list(owner, identifier, opts = {})
2201
+ data, _status_code, _headers = repos_upstream_cargo_list_with_http_info(owner, identifier, opts)
2196
2202
  data
2197
2203
  end
2198
2204
 
2199
- # List Composer upstream configs for this repository.
2200
- # List Composer upstream configs for this repository.
2205
+ # List Cargo upstream configs for this repository.
2206
+ # List Cargo upstream configs for this repository.
2201
2207
  # @param owner
2202
2208
  # @param identifier
2203
2209
  # @param [Hash] opts the optional parameters
2204
2210
  # @option opts [Integer] :page A page number within the paginated result set.
2205
2211
  # @option opts [Integer] :page_size Number of results to return per page.
2206
- # @return [Array<(Array<ComposerUpstream>, Fixnum, Hash)>] Array<ComposerUpstream> data, response status code and response headers
2207
- def repos_upstream_composer_list_with_http_info(owner, identifier, opts = {})
2212
+ # @return [Array<(Array<CargoUpstream>, Fixnum, Hash)>] Array<CargoUpstream> data, response status code and response headers
2213
+ def repos_upstream_cargo_list_with_http_info(owner, identifier, opts = {})
2208
2214
  if @api_client.config.debugging
2209
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_list ...'
2215
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_list ...'
2210
2216
  end
2211
2217
  # verify the required parameter 'owner' is set
2212
2218
  if @api_client.config.client_side_validation && owner.nil?
2213
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_list"
2219
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_list"
2214
2220
  end
2215
2221
  # verify the required parameter 'identifier' is set
2216
2222
  if @api_client.config.client_side_validation && identifier.nil?
2217
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_list"
2223
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_list"
2218
2224
  end
2219
2225
  # resource path
2220
- local_var_path = '/repos/{owner}/{identifier}/upstream/composer/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
2226
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
2221
2227
 
2222
2228
  # query parameters
2223
2229
  query_params = {}
@@ -2243,51 +2249,51 @@ module CloudsmithApi
2243
2249
  :form_params => form_params,
2244
2250
  :body => post_body,
2245
2251
  :auth_names => auth_names,
2246
- :return_type => 'Array<ComposerUpstream>')
2252
+ :return_type => 'Array<CargoUpstream>')
2247
2253
  if @api_client.config.debugging
2248
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2254
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2249
2255
  end
2250
2256
  return data, status_code, headers
2251
2257
  end
2252
- # Partially update a Composer upstream config for this repository.
2253
- # Partially update a Composer upstream config for this repository.
2258
+ # Partially update a Cargo upstream config for this repository.
2259
+ # Partially update a Cargo upstream config for this repository.
2254
2260
  # @param owner
2255
2261
  # @param identifier
2256
2262
  # @param slug_perm
2257
2263
  # @param [Hash] opts the optional parameters
2258
- # @option opts [ComposerUpstreamRequestPatch] :data
2259
- # @return [ComposerUpstream]
2260
- def repos_upstream_composer_partial_update(owner, identifier, slug_perm, opts = {})
2261
- data, _status_code, _headers = repos_upstream_composer_partial_update_with_http_info(owner, identifier, slug_perm, opts)
2264
+ # @option opts [CargoUpstreamRequestPatch] :data
2265
+ # @return [CargoUpstream]
2266
+ def repos_upstream_cargo_partial_update(owner, identifier, slug_perm, opts = {})
2267
+ data, _status_code, _headers = repos_upstream_cargo_partial_update_with_http_info(owner, identifier, slug_perm, opts)
2262
2268
  data
2263
2269
  end
2264
2270
 
2265
- # Partially update a Composer upstream config for this repository.
2266
- # Partially update a Composer upstream config for this repository.
2271
+ # Partially update a Cargo upstream config for this repository.
2272
+ # Partially update a Cargo upstream config for this repository.
2267
2273
  # @param owner
2268
2274
  # @param identifier
2269
2275
  # @param slug_perm
2270
2276
  # @param [Hash] opts the optional parameters
2271
- # @option opts [ComposerUpstreamRequestPatch] :data
2272
- # @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
2273
- def repos_upstream_composer_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
2277
+ # @option opts [CargoUpstreamRequestPatch] :data
2278
+ # @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
2279
+ def repos_upstream_cargo_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
2274
2280
  if @api_client.config.debugging
2275
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_partial_update ...'
2281
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_partial_update ...'
2276
2282
  end
2277
2283
  # verify the required parameter 'owner' is set
2278
2284
  if @api_client.config.client_side_validation && owner.nil?
2279
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_partial_update"
2285
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_partial_update"
2280
2286
  end
2281
2287
  # verify the required parameter 'identifier' is set
2282
2288
  if @api_client.config.client_side_validation && identifier.nil?
2283
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_partial_update"
2289
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_partial_update"
2284
2290
  end
2285
2291
  # verify the required parameter 'slug_perm' is set
2286
2292
  if @api_client.config.client_side_validation && slug_perm.nil?
2287
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_partial_update"
2293
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_partial_update"
2288
2294
  end
2289
2295
  # resource path
2290
- local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2296
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2291
2297
 
2292
2298
  # query parameters
2293
2299
  query_params = {}
@@ -2311,49 +2317,49 @@ module CloudsmithApi
2311
2317
  :form_params => form_params,
2312
2318
  :body => post_body,
2313
2319
  :auth_names => auth_names,
2314
- :return_type => 'ComposerUpstream')
2320
+ :return_type => 'CargoUpstream')
2315
2321
  if @api_client.config.debugging
2316
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2322
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2317
2323
  end
2318
2324
  return data, status_code, headers
2319
2325
  end
2320
- # Retrieve a Composer upstream config for this repository.
2321
- # Retrieve a Composer upstream config for this repository.
2326
+ # Retrieve a Cargo upstream config for this repository.
2327
+ # Retrieve a Cargo upstream config for this repository.
2322
2328
  # @param owner
2323
2329
  # @param identifier
2324
2330
  # @param slug_perm
2325
2331
  # @param [Hash] opts the optional parameters
2326
- # @return [ComposerUpstream]
2327
- def repos_upstream_composer_read(owner, identifier, slug_perm, opts = {})
2328
- data, _status_code, _headers = repos_upstream_composer_read_with_http_info(owner, identifier, slug_perm, opts)
2332
+ # @return [CargoUpstream]
2333
+ def repos_upstream_cargo_read(owner, identifier, slug_perm, opts = {})
2334
+ data, _status_code, _headers = repos_upstream_cargo_read_with_http_info(owner, identifier, slug_perm, opts)
2329
2335
  data
2330
2336
  end
2331
2337
 
2332
- # Retrieve a Composer upstream config for this repository.
2333
- # Retrieve a Composer upstream config for this repository.
2338
+ # Retrieve a Cargo upstream config for this repository.
2339
+ # Retrieve a Cargo upstream config for this repository.
2334
2340
  # @param owner
2335
2341
  # @param identifier
2336
2342
  # @param slug_perm
2337
2343
  # @param [Hash] opts the optional parameters
2338
- # @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
2339
- def repos_upstream_composer_read_with_http_info(owner, identifier, slug_perm, opts = {})
2344
+ # @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
2345
+ def repos_upstream_cargo_read_with_http_info(owner, identifier, slug_perm, opts = {})
2340
2346
  if @api_client.config.debugging
2341
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_read ...'
2347
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_read ...'
2342
2348
  end
2343
2349
  # verify the required parameter 'owner' is set
2344
2350
  if @api_client.config.client_side_validation && owner.nil?
2345
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_read"
2351
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_read"
2346
2352
  end
2347
2353
  # verify the required parameter 'identifier' is set
2348
2354
  if @api_client.config.client_side_validation && identifier.nil?
2349
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_read"
2355
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_read"
2350
2356
  end
2351
2357
  # verify the required parameter 'slug_perm' is set
2352
2358
  if @api_client.config.client_side_validation && slug_perm.nil?
2353
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_read"
2359
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_read"
2354
2360
  end
2355
2361
  # resource path
2356
- local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2362
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2357
2363
 
2358
2364
  # query parameters
2359
2365
  query_params = {}
@@ -2377,51 +2383,773 @@ module CloudsmithApi
2377
2383
  :form_params => form_params,
2378
2384
  :body => post_body,
2379
2385
  :auth_names => auth_names,
2380
- :return_type => 'ComposerUpstream')
2386
+ :return_type => 'CargoUpstream')
2381
2387
  if @api_client.config.debugging
2382
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2388
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2383
2389
  end
2384
2390
  return data, status_code, headers
2385
2391
  end
2392
+ # Update a Cargo upstream config for this repository.
2393
+ # Update a Cargo upstream config for this repository.
2394
+ # @param owner
2395
+ # @param identifier
2396
+ # @param slug_perm
2397
+ # @param [Hash] opts the optional parameters
2398
+ # @option opts [CargoUpstreamRequest] :data
2399
+ # @return [CargoUpstream]
2400
+ def repos_upstream_cargo_update(owner, identifier, slug_perm, opts = {})
2401
+ data, _status_code, _headers = repos_upstream_cargo_update_with_http_info(owner, identifier, slug_perm, opts)
2402
+ data
2403
+ end
2404
+
2405
+ # Update a Cargo upstream config for this repository.
2406
+ # Update a Cargo upstream config for this repository.
2407
+ # @param owner
2408
+ # @param identifier
2409
+ # @param slug_perm
2410
+ # @param [Hash] opts the optional parameters
2411
+ # @option opts [CargoUpstreamRequest] :data
2412
+ # @return [Array<(CargoUpstream, Fixnum, Hash)>] CargoUpstream data, response status code and response headers
2413
+ def repos_upstream_cargo_update_with_http_info(owner, identifier, slug_perm, opts = {})
2414
+ if @api_client.config.debugging
2415
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cargo_update ...'
2416
+ end
2417
+ # verify the required parameter 'owner' is set
2418
+ if @api_client.config.client_side_validation && owner.nil?
2419
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cargo_update"
2420
+ end
2421
+ # verify the required parameter 'identifier' is set
2422
+ if @api_client.config.client_side_validation && identifier.nil?
2423
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cargo_update"
2424
+ end
2425
+ # verify the required parameter 'slug_perm' is set
2426
+ if @api_client.config.client_side_validation && slug_perm.nil?
2427
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cargo_update"
2428
+ end
2429
+ # resource path
2430
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2431
+
2432
+ # query parameters
2433
+ query_params = {}
2434
+
2435
+ # header parameters
2436
+ header_params = {}
2437
+ # HTTP header 'Accept' (if needed)
2438
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2439
+ # HTTP header 'Content-Type'
2440
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2441
+
2442
+ # form parameters
2443
+ form_params = {}
2444
+
2445
+ # http body (model)
2446
+ post_body = @api_client.object_to_http_body(opts[:'data'])
2447
+ auth_names = ['apikey', 'basic']
2448
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2449
+ :header_params => header_params,
2450
+ :query_params => query_params,
2451
+ :form_params => form_params,
2452
+ :body => post_body,
2453
+ :auth_names => auth_names,
2454
+ :return_type => 'CargoUpstream')
2455
+ if @api_client.config.debugging
2456
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cargo_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2457
+ end
2458
+ return data, status_code, headers
2459
+ end
2460
+ # Create a Composer upstream config for this repository.
2461
+ # Create a Composer upstream config for this repository.
2462
+ # @param owner
2463
+ # @param identifier
2464
+ # @param [Hash] opts the optional parameters
2465
+ # @option opts [ComposerUpstreamRequest] :data
2466
+ # @return [ComposerUpstream]
2467
+ def repos_upstream_composer_create(owner, identifier, opts = {})
2468
+ data, _status_code, _headers = repos_upstream_composer_create_with_http_info(owner, identifier, opts)
2469
+ data
2470
+ end
2471
+
2472
+ # Create a Composer upstream config for this repository.
2473
+ # Create a Composer upstream config for this repository.
2474
+ # @param owner
2475
+ # @param identifier
2476
+ # @param [Hash] opts the optional parameters
2477
+ # @option opts [ComposerUpstreamRequest] :data
2478
+ # @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
2479
+ def repos_upstream_composer_create_with_http_info(owner, identifier, opts = {})
2480
+ if @api_client.config.debugging
2481
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_create ...'
2482
+ end
2483
+ # verify the required parameter 'owner' is set
2484
+ if @api_client.config.client_side_validation && owner.nil?
2485
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_create"
2486
+ end
2487
+ # verify the required parameter 'identifier' is set
2488
+ if @api_client.config.client_side_validation && identifier.nil?
2489
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_create"
2490
+ end
2491
+ # resource path
2492
+ local_var_path = '/repos/{owner}/{identifier}/upstream/composer/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
2493
+
2494
+ # query parameters
2495
+ query_params = {}
2496
+
2497
+ # header parameters
2498
+ header_params = {}
2499
+ # HTTP header 'Accept' (if needed)
2500
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2501
+ # HTTP header 'Content-Type'
2502
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2503
+
2504
+ # form parameters
2505
+ form_params = {}
2506
+
2507
+ # http body (model)
2508
+ post_body = @api_client.object_to_http_body(opts[:'data'])
2509
+ auth_names = ['apikey', 'basic']
2510
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2511
+ :header_params => header_params,
2512
+ :query_params => query_params,
2513
+ :form_params => form_params,
2514
+ :body => post_body,
2515
+ :auth_names => auth_names,
2516
+ :return_type => 'ComposerUpstream')
2517
+ if @api_client.config.debugging
2518
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2519
+ end
2520
+ return data, status_code, headers
2521
+ end
2522
+ # Delete a Composer upstream config for this repository.
2523
+ # Delete a Composer upstream config for this repository.
2524
+ # @param owner
2525
+ # @param identifier
2526
+ # @param slug_perm
2527
+ # @param [Hash] opts the optional parameters
2528
+ # @return [nil]
2529
+ def repos_upstream_composer_delete(owner, identifier, slug_perm, opts = {})
2530
+ repos_upstream_composer_delete_with_http_info(owner, identifier, slug_perm, opts)
2531
+ nil
2532
+ end
2533
+
2534
+ # Delete a Composer upstream config for this repository.
2535
+ # Delete a Composer upstream config for this repository.
2536
+ # @param owner
2537
+ # @param identifier
2538
+ # @param slug_perm
2539
+ # @param [Hash] opts the optional parameters
2540
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2541
+ def repos_upstream_composer_delete_with_http_info(owner, identifier, slug_perm, opts = {})
2542
+ if @api_client.config.debugging
2543
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_delete ...'
2544
+ end
2545
+ # verify the required parameter 'owner' is set
2546
+ if @api_client.config.client_side_validation && owner.nil?
2547
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_delete"
2548
+ end
2549
+ # verify the required parameter 'identifier' is set
2550
+ if @api_client.config.client_side_validation && identifier.nil?
2551
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_delete"
2552
+ end
2553
+ # verify the required parameter 'slug_perm' is set
2554
+ if @api_client.config.client_side_validation && slug_perm.nil?
2555
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_delete"
2556
+ end
2557
+ # resource path
2558
+ local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2559
+
2560
+ # query parameters
2561
+ query_params = {}
2562
+
2563
+ # header parameters
2564
+ header_params = {}
2565
+ # HTTP header 'Accept' (if needed)
2566
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2567
+ # HTTP header 'Content-Type'
2568
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2569
+
2570
+ # form parameters
2571
+ form_params = {}
2572
+
2573
+ # http body (model)
2574
+ post_body = nil
2575
+ auth_names = ['apikey', 'basic']
2576
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
2577
+ :header_params => header_params,
2578
+ :query_params => query_params,
2579
+ :form_params => form_params,
2580
+ :body => post_body,
2581
+ :auth_names => auth_names)
2582
+ if @api_client.config.debugging
2583
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2584
+ end
2585
+ return data, status_code, headers
2586
+ end
2587
+ # List Composer upstream configs for this repository.
2588
+ # List Composer upstream configs for this repository.
2589
+ # @param owner
2590
+ # @param identifier
2591
+ # @param [Hash] opts the optional parameters
2592
+ # @option opts [Integer] :page A page number within the paginated result set.
2593
+ # @option opts [Integer] :page_size Number of results to return per page.
2594
+ # @return [Array<ComposerUpstream>]
2595
+ def repos_upstream_composer_list(owner, identifier, opts = {})
2596
+ data, _status_code, _headers = repos_upstream_composer_list_with_http_info(owner, identifier, opts)
2597
+ data
2598
+ end
2599
+
2600
+ # List Composer upstream configs for this repository.
2601
+ # List Composer upstream configs for this repository.
2602
+ # @param owner
2603
+ # @param identifier
2604
+ # @param [Hash] opts the optional parameters
2605
+ # @option opts [Integer] :page A page number within the paginated result set.
2606
+ # @option opts [Integer] :page_size Number of results to return per page.
2607
+ # @return [Array<(Array<ComposerUpstream>, Fixnum, Hash)>] Array<ComposerUpstream> data, response status code and response headers
2608
+ def repos_upstream_composer_list_with_http_info(owner, identifier, opts = {})
2609
+ if @api_client.config.debugging
2610
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_list ...'
2611
+ end
2612
+ # verify the required parameter 'owner' is set
2613
+ if @api_client.config.client_side_validation && owner.nil?
2614
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_list"
2615
+ end
2616
+ # verify the required parameter 'identifier' is set
2617
+ if @api_client.config.client_side_validation && identifier.nil?
2618
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_list"
2619
+ end
2620
+ # resource path
2621
+ local_var_path = '/repos/{owner}/{identifier}/upstream/composer/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
2622
+
2623
+ # query parameters
2624
+ query_params = {}
2625
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
2626
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
2627
+
2628
+ # header parameters
2629
+ header_params = {}
2630
+ # HTTP header 'Accept' (if needed)
2631
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2632
+ # HTTP header 'Content-Type'
2633
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2634
+
2635
+ # form parameters
2636
+ form_params = {}
2637
+
2638
+ # http body (model)
2639
+ post_body = nil
2640
+ auth_names = ['apikey', 'basic']
2641
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2642
+ :header_params => header_params,
2643
+ :query_params => query_params,
2644
+ :form_params => form_params,
2645
+ :body => post_body,
2646
+ :auth_names => auth_names,
2647
+ :return_type => 'Array<ComposerUpstream>')
2648
+ if @api_client.config.debugging
2649
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2650
+ end
2651
+ return data, status_code, headers
2652
+ end
2653
+ # Partially update a Composer upstream config for this repository.
2654
+ # Partially update a Composer upstream config for this repository.
2655
+ # @param owner
2656
+ # @param identifier
2657
+ # @param slug_perm
2658
+ # @param [Hash] opts the optional parameters
2659
+ # @option opts [ComposerUpstreamRequestPatch] :data
2660
+ # @return [ComposerUpstream]
2661
+ def repos_upstream_composer_partial_update(owner, identifier, slug_perm, opts = {})
2662
+ data, _status_code, _headers = repos_upstream_composer_partial_update_with_http_info(owner, identifier, slug_perm, opts)
2663
+ data
2664
+ end
2665
+
2666
+ # Partially update a Composer upstream config for this repository.
2667
+ # Partially update a Composer upstream config for this repository.
2668
+ # @param owner
2669
+ # @param identifier
2670
+ # @param slug_perm
2671
+ # @param [Hash] opts the optional parameters
2672
+ # @option opts [ComposerUpstreamRequestPatch] :data
2673
+ # @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
2674
+ def repos_upstream_composer_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
2675
+ if @api_client.config.debugging
2676
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_partial_update ...'
2677
+ end
2678
+ # verify the required parameter 'owner' is set
2679
+ if @api_client.config.client_side_validation && owner.nil?
2680
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_partial_update"
2681
+ end
2682
+ # verify the required parameter 'identifier' is set
2683
+ if @api_client.config.client_side_validation && identifier.nil?
2684
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_partial_update"
2685
+ end
2686
+ # verify the required parameter 'slug_perm' is set
2687
+ if @api_client.config.client_side_validation && slug_perm.nil?
2688
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_partial_update"
2689
+ end
2690
+ # resource path
2691
+ local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2692
+
2693
+ # query parameters
2694
+ query_params = {}
2695
+
2696
+ # header parameters
2697
+ header_params = {}
2698
+ # HTTP header 'Accept' (if needed)
2699
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2700
+ # HTTP header 'Content-Type'
2701
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2702
+
2703
+ # form parameters
2704
+ form_params = {}
2705
+
2706
+ # http body (model)
2707
+ post_body = @api_client.object_to_http_body(opts[:'data'])
2708
+ auth_names = ['apikey', 'basic']
2709
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
2710
+ :header_params => header_params,
2711
+ :query_params => query_params,
2712
+ :form_params => form_params,
2713
+ :body => post_body,
2714
+ :auth_names => auth_names,
2715
+ :return_type => 'ComposerUpstream')
2716
+ if @api_client.config.debugging
2717
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2718
+ end
2719
+ return data, status_code, headers
2720
+ end
2721
+ # Retrieve a Composer upstream config for this repository.
2722
+ # Retrieve a Composer upstream config for this repository.
2723
+ # @param owner
2724
+ # @param identifier
2725
+ # @param slug_perm
2726
+ # @param [Hash] opts the optional parameters
2727
+ # @return [ComposerUpstream]
2728
+ def repos_upstream_composer_read(owner, identifier, slug_perm, opts = {})
2729
+ data, _status_code, _headers = repos_upstream_composer_read_with_http_info(owner, identifier, slug_perm, opts)
2730
+ data
2731
+ end
2732
+
2733
+ # Retrieve a Composer upstream config for this repository.
2734
+ # Retrieve a Composer upstream config for this repository.
2735
+ # @param owner
2736
+ # @param identifier
2737
+ # @param slug_perm
2738
+ # @param [Hash] opts the optional parameters
2739
+ # @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
2740
+ def repos_upstream_composer_read_with_http_info(owner, identifier, slug_perm, opts = {})
2741
+ if @api_client.config.debugging
2742
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_read ...'
2743
+ end
2744
+ # verify the required parameter 'owner' is set
2745
+ if @api_client.config.client_side_validation && owner.nil?
2746
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_read"
2747
+ end
2748
+ # verify the required parameter 'identifier' is set
2749
+ if @api_client.config.client_side_validation && identifier.nil?
2750
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_read"
2751
+ end
2752
+ # verify the required parameter 'slug_perm' is set
2753
+ if @api_client.config.client_side_validation && slug_perm.nil?
2754
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_read"
2755
+ end
2756
+ # resource path
2757
+ local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2758
+
2759
+ # query parameters
2760
+ query_params = {}
2761
+
2762
+ # header parameters
2763
+ header_params = {}
2764
+ # HTTP header 'Accept' (if needed)
2765
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2766
+ # HTTP header 'Content-Type'
2767
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2768
+
2769
+ # form parameters
2770
+ form_params = {}
2771
+
2772
+ # http body (model)
2773
+ post_body = nil
2774
+ auth_names = ['apikey', 'basic']
2775
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2776
+ :header_params => header_params,
2777
+ :query_params => query_params,
2778
+ :form_params => form_params,
2779
+ :body => post_body,
2780
+ :auth_names => auth_names,
2781
+ :return_type => 'ComposerUpstream')
2782
+ if @api_client.config.debugging
2783
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2784
+ end
2785
+ return data, status_code, headers
2786
+ end
2787
+ # Update a Composer upstream config for this repository.
2788
+ # Update a Composer upstream config for this repository.
2789
+ # @param owner
2790
+ # @param identifier
2791
+ # @param slug_perm
2792
+ # @param [Hash] opts the optional parameters
2793
+ # @option opts [ComposerUpstreamRequest] :data
2794
+ # @return [ComposerUpstream]
2795
+ def repos_upstream_composer_update(owner, identifier, slug_perm, opts = {})
2796
+ data, _status_code, _headers = repos_upstream_composer_update_with_http_info(owner, identifier, slug_perm, opts)
2797
+ data
2798
+ end
2799
+
2800
+ # Update a Composer upstream config for this repository.
2386
2801
  # Update a Composer upstream config for this repository.
2387
- # Update a Composer upstream config for this repository.
2388
2802
  # @param owner
2389
2803
  # @param identifier
2390
2804
  # @param slug_perm
2391
2805
  # @param [Hash] opts the optional parameters
2392
- # @option opts [ComposerUpstreamRequest] :data
2393
- # @return [ComposerUpstream]
2394
- def repos_upstream_composer_update(owner, identifier, slug_perm, opts = {})
2395
- data, _status_code, _headers = repos_upstream_composer_update_with_http_info(owner, identifier, slug_perm, opts)
2806
+ # @option opts [ComposerUpstreamRequest] :data
2807
+ # @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
2808
+ def repos_upstream_composer_update_with_http_info(owner, identifier, slug_perm, opts = {})
2809
+ if @api_client.config.debugging
2810
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_update ...'
2811
+ end
2812
+ # verify the required parameter 'owner' is set
2813
+ if @api_client.config.client_side_validation && owner.nil?
2814
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_update"
2815
+ end
2816
+ # verify the required parameter 'identifier' is set
2817
+ if @api_client.config.client_side_validation && identifier.nil?
2818
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_update"
2819
+ end
2820
+ # verify the required parameter 'slug_perm' is set
2821
+ if @api_client.config.client_side_validation && slug_perm.nil?
2822
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_update"
2823
+ end
2824
+ # resource path
2825
+ local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2826
+
2827
+ # query parameters
2828
+ query_params = {}
2829
+
2830
+ # header parameters
2831
+ header_params = {}
2832
+ # HTTP header 'Accept' (if needed)
2833
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2834
+ # HTTP header 'Content-Type'
2835
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2836
+
2837
+ # form parameters
2838
+ form_params = {}
2839
+
2840
+ # http body (model)
2841
+ post_body = @api_client.object_to_http_body(opts[:'data'])
2842
+ auth_names = ['apikey', 'basic']
2843
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2844
+ :header_params => header_params,
2845
+ :query_params => query_params,
2846
+ :form_params => form_params,
2847
+ :body => post_body,
2848
+ :auth_names => auth_names,
2849
+ :return_type => 'ComposerUpstream')
2850
+ if @api_client.config.debugging
2851
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2852
+ end
2853
+ return data, status_code, headers
2854
+ end
2855
+ # Create a Conda upstream config for this repository.
2856
+ # Create a Conda upstream config for this repository.
2857
+ # @param owner
2858
+ # @param identifier
2859
+ # @param [Hash] opts the optional parameters
2860
+ # @option opts [CondaUpstreamRequest] :data
2861
+ # @return [CondaUpstream]
2862
+ def repos_upstream_conda_create(owner, identifier, opts = {})
2863
+ data, _status_code, _headers = repos_upstream_conda_create_with_http_info(owner, identifier, opts)
2864
+ data
2865
+ end
2866
+
2867
+ # Create a Conda upstream config for this repository.
2868
+ # Create a Conda upstream config for this repository.
2869
+ # @param owner
2870
+ # @param identifier
2871
+ # @param [Hash] opts the optional parameters
2872
+ # @option opts [CondaUpstreamRequest] :data
2873
+ # @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
2874
+ def repos_upstream_conda_create_with_http_info(owner, identifier, opts = {})
2875
+ if @api_client.config.debugging
2876
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_create ...'
2877
+ end
2878
+ # verify the required parameter 'owner' is set
2879
+ if @api_client.config.client_side_validation && owner.nil?
2880
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_create"
2881
+ end
2882
+ # verify the required parameter 'identifier' is set
2883
+ if @api_client.config.client_side_validation && identifier.nil?
2884
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_create"
2885
+ end
2886
+ # resource path
2887
+ local_var_path = '/repos/{owner}/{identifier}/upstream/conda/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
2888
+
2889
+ # query parameters
2890
+ query_params = {}
2891
+
2892
+ # header parameters
2893
+ header_params = {}
2894
+ # HTTP header 'Accept' (if needed)
2895
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2896
+ # HTTP header 'Content-Type'
2897
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2898
+
2899
+ # form parameters
2900
+ form_params = {}
2901
+
2902
+ # http body (model)
2903
+ post_body = @api_client.object_to_http_body(opts[:'data'])
2904
+ auth_names = ['apikey', 'basic']
2905
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2906
+ :header_params => header_params,
2907
+ :query_params => query_params,
2908
+ :form_params => form_params,
2909
+ :body => post_body,
2910
+ :auth_names => auth_names,
2911
+ :return_type => 'CondaUpstream')
2912
+ if @api_client.config.debugging
2913
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2914
+ end
2915
+ return data, status_code, headers
2916
+ end
2917
+ # Delete a Conda upstream config for this repository.
2918
+ # Delete a Conda upstream config for this repository.
2919
+ # @param owner
2920
+ # @param identifier
2921
+ # @param slug_perm
2922
+ # @param [Hash] opts the optional parameters
2923
+ # @return [nil]
2924
+ def repos_upstream_conda_delete(owner, identifier, slug_perm, opts = {})
2925
+ repos_upstream_conda_delete_with_http_info(owner, identifier, slug_perm, opts)
2926
+ nil
2927
+ end
2928
+
2929
+ # Delete a Conda upstream config for this repository.
2930
+ # Delete a Conda upstream config for this repository.
2931
+ # @param owner
2932
+ # @param identifier
2933
+ # @param slug_perm
2934
+ # @param [Hash] opts the optional parameters
2935
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2936
+ def repos_upstream_conda_delete_with_http_info(owner, identifier, slug_perm, opts = {})
2937
+ if @api_client.config.debugging
2938
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_delete ...'
2939
+ end
2940
+ # verify the required parameter 'owner' is set
2941
+ if @api_client.config.client_side_validation && owner.nil?
2942
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_delete"
2943
+ end
2944
+ # verify the required parameter 'identifier' is set
2945
+ if @api_client.config.client_side_validation && identifier.nil?
2946
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_delete"
2947
+ end
2948
+ # verify the required parameter 'slug_perm' is set
2949
+ if @api_client.config.client_side_validation && slug_perm.nil?
2950
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_delete"
2951
+ end
2952
+ # resource path
2953
+ local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2954
+
2955
+ # query parameters
2956
+ query_params = {}
2957
+
2958
+ # header parameters
2959
+ header_params = {}
2960
+ # HTTP header 'Accept' (if needed)
2961
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2962
+ # HTTP header 'Content-Type'
2963
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2964
+
2965
+ # form parameters
2966
+ form_params = {}
2967
+
2968
+ # http body (model)
2969
+ post_body = nil
2970
+ auth_names = ['apikey', 'basic']
2971
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
2972
+ :header_params => header_params,
2973
+ :query_params => query_params,
2974
+ :form_params => form_params,
2975
+ :body => post_body,
2976
+ :auth_names => auth_names)
2977
+ if @api_client.config.debugging
2978
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2979
+ end
2980
+ return data, status_code, headers
2981
+ end
2982
+ # List Conda upstream configs for this repository.
2983
+ # List Conda upstream configs for this repository.
2984
+ # @param owner
2985
+ # @param identifier
2986
+ # @param [Hash] opts the optional parameters
2987
+ # @option opts [Integer] :page A page number within the paginated result set.
2988
+ # @option opts [Integer] :page_size Number of results to return per page.
2989
+ # @return [Array<CondaUpstream>]
2990
+ def repos_upstream_conda_list(owner, identifier, opts = {})
2991
+ data, _status_code, _headers = repos_upstream_conda_list_with_http_info(owner, identifier, opts)
2992
+ data
2993
+ end
2994
+
2995
+ # List Conda upstream configs for this repository.
2996
+ # List Conda upstream configs for this repository.
2997
+ # @param owner
2998
+ # @param identifier
2999
+ # @param [Hash] opts the optional parameters
3000
+ # @option opts [Integer] :page A page number within the paginated result set.
3001
+ # @option opts [Integer] :page_size Number of results to return per page.
3002
+ # @return [Array<(Array<CondaUpstream>, Fixnum, Hash)>] Array<CondaUpstream> data, response status code and response headers
3003
+ def repos_upstream_conda_list_with_http_info(owner, identifier, opts = {})
3004
+ if @api_client.config.debugging
3005
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_list ...'
3006
+ end
3007
+ # verify the required parameter 'owner' is set
3008
+ if @api_client.config.client_side_validation && owner.nil?
3009
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_list"
3010
+ end
3011
+ # verify the required parameter 'identifier' is set
3012
+ if @api_client.config.client_side_validation && identifier.nil?
3013
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_list"
3014
+ end
3015
+ # resource path
3016
+ local_var_path = '/repos/{owner}/{identifier}/upstream/conda/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3017
+
3018
+ # query parameters
3019
+ query_params = {}
3020
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
3021
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
3022
+
3023
+ # header parameters
3024
+ header_params = {}
3025
+ # HTTP header 'Accept' (if needed)
3026
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3027
+ # HTTP header 'Content-Type'
3028
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3029
+
3030
+ # form parameters
3031
+ form_params = {}
3032
+
3033
+ # http body (model)
3034
+ post_body = nil
3035
+ auth_names = ['apikey', 'basic']
3036
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3037
+ :header_params => header_params,
3038
+ :query_params => query_params,
3039
+ :form_params => form_params,
3040
+ :body => post_body,
3041
+ :auth_names => auth_names,
3042
+ :return_type => 'Array<CondaUpstream>')
3043
+ if @api_client.config.debugging
3044
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3045
+ end
3046
+ return data, status_code, headers
3047
+ end
3048
+ # Partially update a Conda upstream config for this repository.
3049
+ # Partially update a Conda upstream config for this repository.
3050
+ # @param owner
3051
+ # @param identifier
3052
+ # @param slug_perm
3053
+ # @param [Hash] opts the optional parameters
3054
+ # @option opts [CondaUpstreamRequestPatch] :data
3055
+ # @return [CondaUpstream]
3056
+ def repos_upstream_conda_partial_update(owner, identifier, slug_perm, opts = {})
3057
+ data, _status_code, _headers = repos_upstream_conda_partial_update_with_http_info(owner, identifier, slug_perm, opts)
3058
+ data
3059
+ end
3060
+
3061
+ # Partially update a Conda upstream config for this repository.
3062
+ # Partially update a Conda upstream config for this repository.
3063
+ # @param owner
3064
+ # @param identifier
3065
+ # @param slug_perm
3066
+ # @param [Hash] opts the optional parameters
3067
+ # @option opts [CondaUpstreamRequestPatch] :data
3068
+ # @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
3069
+ def repos_upstream_conda_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
3070
+ if @api_client.config.debugging
3071
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_partial_update ...'
3072
+ end
3073
+ # verify the required parameter 'owner' is set
3074
+ if @api_client.config.client_side_validation && owner.nil?
3075
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_partial_update"
3076
+ end
3077
+ # verify the required parameter 'identifier' is set
3078
+ if @api_client.config.client_side_validation && identifier.nil?
3079
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_partial_update"
3080
+ end
3081
+ # verify the required parameter 'slug_perm' is set
3082
+ if @api_client.config.client_side_validation && slug_perm.nil?
3083
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_partial_update"
3084
+ end
3085
+ # resource path
3086
+ local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3087
+
3088
+ # query parameters
3089
+ query_params = {}
3090
+
3091
+ # header parameters
3092
+ header_params = {}
3093
+ # HTTP header 'Accept' (if needed)
3094
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3095
+ # HTTP header 'Content-Type'
3096
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3097
+
3098
+ # form parameters
3099
+ form_params = {}
3100
+
3101
+ # http body (model)
3102
+ post_body = @api_client.object_to_http_body(opts[:'data'])
3103
+ auth_names = ['apikey', 'basic']
3104
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
3105
+ :header_params => header_params,
3106
+ :query_params => query_params,
3107
+ :form_params => form_params,
3108
+ :body => post_body,
3109
+ :auth_names => auth_names,
3110
+ :return_type => 'CondaUpstream')
3111
+ if @api_client.config.debugging
3112
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3113
+ end
3114
+ return data, status_code, headers
3115
+ end
3116
+ # Retrieve a Conda upstream config for this repository.
3117
+ # Retrieve a Conda upstream config for this repository.
3118
+ # @param owner
3119
+ # @param identifier
3120
+ # @param slug_perm
3121
+ # @param [Hash] opts the optional parameters
3122
+ # @return [CondaUpstream]
3123
+ def repos_upstream_conda_read(owner, identifier, slug_perm, opts = {})
3124
+ data, _status_code, _headers = repos_upstream_conda_read_with_http_info(owner, identifier, slug_perm, opts)
2396
3125
  data
2397
3126
  end
2398
3127
 
2399
- # Update a Composer upstream config for this repository.
2400
- # Update a Composer upstream config for this repository.
3128
+ # Retrieve a Conda upstream config for this repository.
3129
+ # Retrieve a Conda upstream config for this repository.
2401
3130
  # @param owner
2402
3131
  # @param identifier
2403
3132
  # @param slug_perm
2404
3133
  # @param [Hash] opts the optional parameters
2405
- # @option opts [ComposerUpstreamRequest] :data
2406
- # @return [Array<(ComposerUpstream, Fixnum, Hash)>] ComposerUpstream data, response status code and response headers
2407
- def repos_upstream_composer_update_with_http_info(owner, identifier, slug_perm, opts = {})
3134
+ # @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
3135
+ def repos_upstream_conda_read_with_http_info(owner, identifier, slug_perm, opts = {})
2408
3136
  if @api_client.config.debugging
2409
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_composer_update ...'
3137
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_read ...'
2410
3138
  end
2411
3139
  # verify the required parameter 'owner' is set
2412
3140
  if @api_client.config.client_side_validation && owner.nil?
2413
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_composer_update"
3141
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_read"
2414
3142
  end
2415
3143
  # verify the required parameter 'identifier' is set
2416
3144
  if @api_client.config.client_side_validation && identifier.nil?
2417
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_composer_update"
3145
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_read"
2418
3146
  end
2419
3147
  # verify the required parameter 'slug_perm' is set
2420
3148
  if @api_client.config.client_side_validation && slug_perm.nil?
2421
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_composer_update"
3149
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_read"
2422
3150
  end
2423
3151
  # resource path
2424
- local_var_path = '/repos/{owner}/{identifier}/upstream/composer/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3152
+ local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2425
3153
 
2426
3154
  # query parameters
2427
3155
  query_params = {}
@@ -2437,53 +3165,59 @@ module CloudsmithApi
2437
3165
  form_params = {}
2438
3166
 
2439
3167
  # http body (model)
2440
- post_body = @api_client.object_to_http_body(opts[:'data'])
3168
+ post_body = nil
2441
3169
  auth_names = ['apikey', 'basic']
2442
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
3170
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2443
3171
  :header_params => header_params,
2444
3172
  :query_params => query_params,
2445
3173
  :form_params => form_params,
2446
3174
  :body => post_body,
2447
3175
  :auth_names => auth_names,
2448
- :return_type => 'ComposerUpstream')
3176
+ :return_type => 'CondaUpstream')
2449
3177
  if @api_client.config.debugging
2450
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_composer_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3178
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2451
3179
  end
2452
3180
  return data, status_code, headers
2453
3181
  end
2454
- # Create a Conda upstream config for this repository.
2455
- # Create a Conda upstream config for this repository.
3182
+ # Update a Conda upstream config for this repository.
3183
+ # Update a Conda upstream config for this repository.
2456
3184
  # @param owner
2457
3185
  # @param identifier
3186
+ # @param slug_perm
2458
3187
  # @param [Hash] opts the optional parameters
2459
3188
  # @option opts [CondaUpstreamRequest] :data
2460
3189
  # @return [CondaUpstream]
2461
- def repos_upstream_conda_create(owner, identifier, opts = {})
2462
- data, _status_code, _headers = repos_upstream_conda_create_with_http_info(owner, identifier, opts)
3190
+ def repos_upstream_conda_update(owner, identifier, slug_perm, opts = {})
3191
+ data, _status_code, _headers = repos_upstream_conda_update_with_http_info(owner, identifier, slug_perm, opts)
2463
3192
  data
2464
3193
  end
2465
3194
 
2466
- # Create a Conda upstream config for this repository.
2467
- # Create a Conda upstream config for this repository.
3195
+ # Update a Conda upstream config for this repository.
3196
+ # Update a Conda upstream config for this repository.
2468
3197
  # @param owner
2469
3198
  # @param identifier
3199
+ # @param slug_perm
2470
3200
  # @param [Hash] opts the optional parameters
2471
3201
  # @option opts [CondaUpstreamRequest] :data
2472
3202
  # @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
2473
- def repos_upstream_conda_create_with_http_info(owner, identifier, opts = {})
3203
+ def repos_upstream_conda_update_with_http_info(owner, identifier, slug_perm, opts = {})
2474
3204
  if @api_client.config.debugging
2475
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_create ...'
3205
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_update ...'
2476
3206
  end
2477
3207
  # verify the required parameter 'owner' is set
2478
3208
  if @api_client.config.client_side_validation && owner.nil?
2479
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_create"
3209
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_update"
2480
3210
  end
2481
3211
  # verify the required parameter 'identifier' is set
2482
3212
  if @api_client.config.client_side_validation && identifier.nil?
2483
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_create"
3213
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_update"
3214
+ end
3215
+ # verify the required parameter 'slug_perm' is set
3216
+ if @api_client.config.client_side_validation && slug_perm.nil?
3217
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_update"
2484
3218
  end
2485
3219
  # resource path
2486
- local_var_path = '/repos/{owner}/{identifier}/upstream/conda/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3220
+ local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2487
3221
 
2488
3222
  # query parameters
2489
3223
  query_params = {}
@@ -2501,7 +3235,7 @@ module CloudsmithApi
2501
3235
  # http body (model)
2502
3236
  post_body = @api_client.object_to_http_body(opts[:'data'])
2503
3237
  auth_names = ['apikey', 'basic']
2504
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3238
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2505
3239
  :header_params => header_params,
2506
3240
  :query_params => query_params,
2507
3241
  :form_params => form_params,
@@ -2509,47 +3243,109 @@ module CloudsmithApi
2509
3243
  :auth_names => auth_names,
2510
3244
  :return_type => 'CondaUpstream')
2511
3245
  if @api_client.config.debugging
2512
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3246
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2513
3247
  end
2514
3248
  return data, status_code, headers
2515
3249
  end
2516
- # Delete a Conda upstream config for this repository.
2517
- # Delete a Conda upstream config for this repository.
3250
+ # Create a CRAN upstream config for this repository.
3251
+ # Create a CRAN upstream config for this repository.
3252
+ # @param owner
3253
+ # @param identifier
3254
+ # @param [Hash] opts the optional parameters
3255
+ # @option opts [CranUpstreamRequest] :data
3256
+ # @return [CranUpstream]
3257
+ def repos_upstream_cran_create(owner, identifier, opts = {})
3258
+ data, _status_code, _headers = repos_upstream_cran_create_with_http_info(owner, identifier, opts)
3259
+ data
3260
+ end
3261
+
3262
+ # Create a CRAN upstream config for this repository.
3263
+ # Create a CRAN upstream config for this repository.
3264
+ # @param owner
3265
+ # @param identifier
3266
+ # @param [Hash] opts the optional parameters
3267
+ # @option opts [CranUpstreamRequest] :data
3268
+ # @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
3269
+ def repos_upstream_cran_create_with_http_info(owner, identifier, opts = {})
3270
+ if @api_client.config.debugging
3271
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_create ...'
3272
+ end
3273
+ # verify the required parameter 'owner' is set
3274
+ if @api_client.config.client_side_validation && owner.nil?
3275
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_create"
3276
+ end
3277
+ # verify the required parameter 'identifier' is set
3278
+ if @api_client.config.client_side_validation && identifier.nil?
3279
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_create"
3280
+ end
3281
+ # resource path
3282
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cran/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3283
+
3284
+ # query parameters
3285
+ query_params = {}
3286
+
3287
+ # header parameters
3288
+ header_params = {}
3289
+ # HTTP header 'Accept' (if needed)
3290
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3291
+ # HTTP header 'Content-Type'
3292
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3293
+
3294
+ # form parameters
3295
+ form_params = {}
3296
+
3297
+ # http body (model)
3298
+ post_body = @api_client.object_to_http_body(opts[:'data'])
3299
+ auth_names = ['apikey', 'basic']
3300
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3301
+ :header_params => header_params,
3302
+ :query_params => query_params,
3303
+ :form_params => form_params,
3304
+ :body => post_body,
3305
+ :auth_names => auth_names,
3306
+ :return_type => 'CranUpstream')
3307
+ if @api_client.config.debugging
3308
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3309
+ end
3310
+ return data, status_code, headers
3311
+ end
3312
+ # Delete a CRAN upstream config for this repository.
3313
+ # Delete a CRAN upstream config for this repository.
2518
3314
  # @param owner
2519
3315
  # @param identifier
2520
3316
  # @param slug_perm
2521
3317
  # @param [Hash] opts the optional parameters
2522
3318
  # @return [nil]
2523
- def repos_upstream_conda_delete(owner, identifier, slug_perm, opts = {})
2524
- repos_upstream_conda_delete_with_http_info(owner, identifier, slug_perm, opts)
3319
+ def repos_upstream_cran_delete(owner, identifier, slug_perm, opts = {})
3320
+ repos_upstream_cran_delete_with_http_info(owner, identifier, slug_perm, opts)
2525
3321
  nil
2526
3322
  end
2527
3323
 
2528
- # Delete a Conda upstream config for this repository.
2529
- # Delete a Conda upstream config for this repository.
3324
+ # Delete a CRAN upstream config for this repository.
3325
+ # Delete a CRAN upstream config for this repository.
2530
3326
  # @param owner
2531
3327
  # @param identifier
2532
3328
  # @param slug_perm
2533
3329
  # @param [Hash] opts the optional parameters
2534
3330
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2535
- def repos_upstream_conda_delete_with_http_info(owner, identifier, slug_perm, opts = {})
3331
+ def repos_upstream_cran_delete_with_http_info(owner, identifier, slug_perm, opts = {})
2536
3332
  if @api_client.config.debugging
2537
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_delete ...'
3333
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_delete ...'
2538
3334
  end
2539
3335
  # verify the required parameter 'owner' is set
2540
3336
  if @api_client.config.client_side_validation && owner.nil?
2541
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_delete"
3337
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_delete"
2542
3338
  end
2543
3339
  # verify the required parameter 'identifier' is set
2544
3340
  if @api_client.config.client_side_validation && identifier.nil?
2545
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_delete"
3341
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_delete"
2546
3342
  end
2547
3343
  # verify the required parameter 'slug_perm' is set
2548
3344
  if @api_client.config.client_side_validation && slug_perm.nil?
2549
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_delete"
3345
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_delete"
2550
3346
  end
2551
3347
  # resource path
2552
- local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3348
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2553
3349
 
2554
3350
  # query parameters
2555
3351
  query_params = {}
@@ -2574,45 +3370,45 @@ module CloudsmithApi
2574
3370
  :body => post_body,
2575
3371
  :auth_names => auth_names)
2576
3372
  if @api_client.config.debugging
2577
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3373
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2578
3374
  end
2579
3375
  return data, status_code, headers
2580
3376
  end
2581
- # List Conda upstream configs for this repository.
2582
- # List Conda upstream configs for this repository.
3377
+ # List CRAN upstream configs for this repository.
3378
+ # List CRAN upstream configs for this repository.
2583
3379
  # @param owner
2584
3380
  # @param identifier
2585
3381
  # @param [Hash] opts the optional parameters
2586
3382
  # @option opts [Integer] :page A page number within the paginated result set.
2587
3383
  # @option opts [Integer] :page_size Number of results to return per page.
2588
- # @return [Array<CondaUpstream>]
2589
- def repos_upstream_conda_list(owner, identifier, opts = {})
2590
- data, _status_code, _headers = repos_upstream_conda_list_with_http_info(owner, identifier, opts)
3384
+ # @return [Array<CranUpstream>]
3385
+ def repos_upstream_cran_list(owner, identifier, opts = {})
3386
+ data, _status_code, _headers = repos_upstream_cran_list_with_http_info(owner, identifier, opts)
2591
3387
  data
2592
3388
  end
2593
3389
 
2594
- # List Conda upstream configs for this repository.
2595
- # List Conda upstream configs for this repository.
3390
+ # List CRAN upstream configs for this repository.
3391
+ # List CRAN upstream configs for this repository.
2596
3392
  # @param owner
2597
3393
  # @param identifier
2598
3394
  # @param [Hash] opts the optional parameters
2599
3395
  # @option opts [Integer] :page A page number within the paginated result set.
2600
3396
  # @option opts [Integer] :page_size Number of results to return per page.
2601
- # @return [Array<(Array<CondaUpstream>, Fixnum, Hash)>] Array<CondaUpstream> data, response status code and response headers
2602
- def repos_upstream_conda_list_with_http_info(owner, identifier, opts = {})
3397
+ # @return [Array<(Array<CranUpstream>, Fixnum, Hash)>] Array<CranUpstream> data, response status code and response headers
3398
+ def repos_upstream_cran_list_with_http_info(owner, identifier, opts = {})
2603
3399
  if @api_client.config.debugging
2604
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_list ...'
3400
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_list ...'
2605
3401
  end
2606
3402
  # verify the required parameter 'owner' is set
2607
3403
  if @api_client.config.client_side_validation && owner.nil?
2608
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_list"
3404
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_list"
2609
3405
  end
2610
3406
  # verify the required parameter 'identifier' is set
2611
3407
  if @api_client.config.client_side_validation && identifier.nil?
2612
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_list"
3408
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_list"
2613
3409
  end
2614
3410
  # resource path
2615
- local_var_path = '/repos/{owner}/{identifier}/upstream/conda/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3411
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cran/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
2616
3412
 
2617
3413
  # query parameters
2618
3414
  query_params = {}
@@ -2638,51 +3434,51 @@ module CloudsmithApi
2638
3434
  :form_params => form_params,
2639
3435
  :body => post_body,
2640
3436
  :auth_names => auth_names,
2641
- :return_type => 'Array<CondaUpstream>')
3437
+ :return_type => 'Array<CranUpstream>')
2642
3438
  if @api_client.config.debugging
2643
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3439
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2644
3440
  end
2645
3441
  return data, status_code, headers
2646
3442
  end
2647
- # Partially update a Conda upstream config for this repository.
2648
- # Partially update a Conda upstream config for this repository.
3443
+ # Partially update a CRAN upstream config for this repository.
3444
+ # Partially update a CRAN upstream config for this repository.
2649
3445
  # @param owner
2650
3446
  # @param identifier
2651
3447
  # @param slug_perm
2652
3448
  # @param [Hash] opts the optional parameters
2653
- # @option opts [CondaUpstreamRequestPatch] :data
2654
- # @return [CondaUpstream]
2655
- def repos_upstream_conda_partial_update(owner, identifier, slug_perm, opts = {})
2656
- data, _status_code, _headers = repos_upstream_conda_partial_update_with_http_info(owner, identifier, slug_perm, opts)
3449
+ # @option opts [CranUpstreamRequestPatch] :data
3450
+ # @return [CranUpstream]
3451
+ def repos_upstream_cran_partial_update(owner, identifier, slug_perm, opts = {})
3452
+ data, _status_code, _headers = repos_upstream_cran_partial_update_with_http_info(owner, identifier, slug_perm, opts)
2657
3453
  data
2658
3454
  end
2659
3455
 
2660
- # Partially update a Conda upstream config for this repository.
2661
- # Partially update a Conda upstream config for this repository.
3456
+ # Partially update a CRAN upstream config for this repository.
3457
+ # Partially update a CRAN upstream config for this repository.
2662
3458
  # @param owner
2663
3459
  # @param identifier
2664
- # @param slug_perm
2665
- # @param [Hash] opts the optional parameters
2666
- # @option opts [CondaUpstreamRequestPatch] :data
2667
- # @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
2668
- def repos_upstream_conda_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
3460
+ # @param slug_perm
3461
+ # @param [Hash] opts the optional parameters
3462
+ # @option opts [CranUpstreamRequestPatch] :data
3463
+ # @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
3464
+ def repos_upstream_cran_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
2669
3465
  if @api_client.config.debugging
2670
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_partial_update ...'
3466
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_partial_update ...'
2671
3467
  end
2672
3468
  # verify the required parameter 'owner' is set
2673
3469
  if @api_client.config.client_side_validation && owner.nil?
2674
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_partial_update"
3470
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_partial_update"
2675
3471
  end
2676
3472
  # verify the required parameter 'identifier' is set
2677
3473
  if @api_client.config.client_side_validation && identifier.nil?
2678
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_partial_update"
3474
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_partial_update"
2679
3475
  end
2680
3476
  # verify the required parameter 'slug_perm' is set
2681
3477
  if @api_client.config.client_side_validation && slug_perm.nil?
2682
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_partial_update"
3478
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_partial_update"
2683
3479
  end
2684
3480
  # resource path
2685
- local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3481
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2686
3482
 
2687
3483
  # query parameters
2688
3484
  query_params = {}
@@ -2706,49 +3502,49 @@ module CloudsmithApi
2706
3502
  :form_params => form_params,
2707
3503
  :body => post_body,
2708
3504
  :auth_names => auth_names,
2709
- :return_type => 'CondaUpstream')
3505
+ :return_type => 'CranUpstream')
2710
3506
  if @api_client.config.debugging
2711
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3507
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2712
3508
  end
2713
3509
  return data, status_code, headers
2714
3510
  end
2715
- # Retrieve a Conda upstream config for this repository.
2716
- # Retrieve a Conda upstream config for this repository.
3511
+ # Retrieve a CRAN upstream config for this repository.
3512
+ # Retrieve a CRAN upstream config for this repository.
2717
3513
  # @param owner
2718
3514
  # @param identifier
2719
3515
  # @param slug_perm
2720
3516
  # @param [Hash] opts the optional parameters
2721
- # @return [CondaUpstream]
2722
- def repos_upstream_conda_read(owner, identifier, slug_perm, opts = {})
2723
- data, _status_code, _headers = repos_upstream_conda_read_with_http_info(owner, identifier, slug_perm, opts)
3517
+ # @return [CranUpstream]
3518
+ def repos_upstream_cran_read(owner, identifier, slug_perm, opts = {})
3519
+ data, _status_code, _headers = repos_upstream_cran_read_with_http_info(owner, identifier, slug_perm, opts)
2724
3520
  data
2725
3521
  end
2726
3522
 
2727
- # Retrieve a Conda upstream config for this repository.
2728
- # Retrieve a Conda upstream config for this repository.
3523
+ # Retrieve a CRAN upstream config for this repository.
3524
+ # Retrieve a CRAN upstream config for this repository.
2729
3525
  # @param owner
2730
3526
  # @param identifier
2731
3527
  # @param slug_perm
2732
3528
  # @param [Hash] opts the optional parameters
2733
- # @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
2734
- def repos_upstream_conda_read_with_http_info(owner, identifier, slug_perm, opts = {})
3529
+ # @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
3530
+ def repos_upstream_cran_read_with_http_info(owner, identifier, slug_perm, opts = {})
2735
3531
  if @api_client.config.debugging
2736
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_read ...'
3532
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_read ...'
2737
3533
  end
2738
3534
  # verify the required parameter 'owner' is set
2739
3535
  if @api_client.config.client_side_validation && owner.nil?
2740
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_read"
3536
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_read"
2741
3537
  end
2742
3538
  # verify the required parameter 'identifier' is set
2743
3539
  if @api_client.config.client_side_validation && identifier.nil?
2744
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_read"
3540
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_read"
2745
3541
  end
2746
3542
  # verify the required parameter 'slug_perm' is set
2747
3543
  if @api_client.config.client_side_validation && slug_perm.nil?
2748
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_read"
3544
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_read"
2749
3545
  end
2750
3546
  # resource path
2751
- local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3547
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2752
3548
 
2753
3549
  # query parameters
2754
3550
  query_params = {}
@@ -2772,51 +3568,51 @@ module CloudsmithApi
2772
3568
  :form_params => form_params,
2773
3569
  :body => post_body,
2774
3570
  :auth_names => auth_names,
2775
- :return_type => 'CondaUpstream')
3571
+ :return_type => 'CranUpstream')
2776
3572
  if @api_client.config.debugging
2777
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3573
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2778
3574
  end
2779
3575
  return data, status_code, headers
2780
3576
  end
2781
- # Update a Conda upstream config for this repository.
2782
- # Update a Conda upstream config for this repository.
3577
+ # Update a CRAN upstream config for this repository.
3578
+ # Update a CRAN upstream config for this repository.
2783
3579
  # @param owner
2784
3580
  # @param identifier
2785
3581
  # @param slug_perm
2786
3582
  # @param [Hash] opts the optional parameters
2787
- # @option opts [CondaUpstreamRequest] :data
2788
- # @return [CondaUpstream]
2789
- def repos_upstream_conda_update(owner, identifier, slug_perm, opts = {})
2790
- data, _status_code, _headers = repos_upstream_conda_update_with_http_info(owner, identifier, slug_perm, opts)
3583
+ # @option opts [CranUpstreamRequest] :data
3584
+ # @return [CranUpstream]
3585
+ def repos_upstream_cran_update(owner, identifier, slug_perm, opts = {})
3586
+ data, _status_code, _headers = repos_upstream_cran_update_with_http_info(owner, identifier, slug_perm, opts)
2791
3587
  data
2792
3588
  end
2793
3589
 
2794
- # Update a Conda upstream config for this repository.
2795
- # Update a Conda upstream config for this repository.
3590
+ # Update a CRAN upstream config for this repository.
3591
+ # Update a CRAN upstream config for this repository.
2796
3592
  # @param owner
2797
3593
  # @param identifier
2798
3594
  # @param slug_perm
2799
3595
  # @param [Hash] opts the optional parameters
2800
- # @option opts [CondaUpstreamRequest] :data
2801
- # @return [Array<(CondaUpstream, Fixnum, Hash)>] CondaUpstream data, response status code and response headers
2802
- def repos_upstream_conda_update_with_http_info(owner, identifier, slug_perm, opts = {})
3596
+ # @option opts [CranUpstreamRequest] :data
3597
+ # @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
3598
+ def repos_upstream_cran_update_with_http_info(owner, identifier, slug_perm, opts = {})
2803
3599
  if @api_client.config.debugging
2804
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_conda_update ...'
3600
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_update ...'
2805
3601
  end
2806
3602
  # verify the required parameter 'owner' is set
2807
3603
  if @api_client.config.client_side_validation && owner.nil?
2808
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_conda_update"
3604
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_update"
2809
3605
  end
2810
3606
  # verify the required parameter 'identifier' is set
2811
3607
  if @api_client.config.client_side_validation && identifier.nil?
2812
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_conda_update"
3608
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_update"
2813
3609
  end
2814
3610
  # verify the required parameter 'slug_perm' is set
2815
3611
  if @api_client.config.client_side_validation && slug_perm.nil?
2816
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_conda_update"
3612
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_update"
2817
3613
  end
2818
3614
  # resource path
2819
- local_var_path = '/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3615
+ local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2820
3616
 
2821
3617
  # query parameters
2822
3618
  query_params = {}
@@ -2840,45 +3636,45 @@ module CloudsmithApi
2840
3636
  :form_params => form_params,
2841
3637
  :body => post_body,
2842
3638
  :auth_names => auth_names,
2843
- :return_type => 'CondaUpstream')
3639
+ :return_type => 'CranUpstream')
2844
3640
  if @api_client.config.debugging
2845
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_conda_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3641
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2846
3642
  end
2847
3643
  return data, status_code, headers
2848
3644
  end
2849
- # Create a CRAN upstream config for this repository.
2850
- # Create a CRAN upstream config for this repository.
3645
+ # Create a Dart upstream config for this repository.
3646
+ # Create a Dart upstream config for this repository.
2851
3647
  # @param owner
2852
3648
  # @param identifier
2853
3649
  # @param [Hash] opts the optional parameters
2854
- # @option opts [CranUpstreamRequest] :data
2855
- # @return [CranUpstream]
2856
- def repos_upstream_cran_create(owner, identifier, opts = {})
2857
- data, _status_code, _headers = repos_upstream_cran_create_with_http_info(owner, identifier, opts)
3650
+ # @option opts [DartUpstreamRequest] :data
3651
+ # @return [DartUpstream]
3652
+ def repos_upstream_dart_create(owner, identifier, opts = {})
3653
+ data, _status_code, _headers = repos_upstream_dart_create_with_http_info(owner, identifier, opts)
2858
3654
  data
2859
3655
  end
2860
3656
 
2861
- # Create a CRAN upstream config for this repository.
2862
- # Create a CRAN upstream config for this repository.
3657
+ # Create a Dart upstream config for this repository.
3658
+ # Create a Dart upstream config for this repository.
2863
3659
  # @param owner
2864
3660
  # @param identifier
2865
3661
  # @param [Hash] opts the optional parameters
2866
- # @option opts [CranUpstreamRequest] :data
2867
- # @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
2868
- def repos_upstream_cran_create_with_http_info(owner, identifier, opts = {})
3662
+ # @option opts [DartUpstreamRequest] :data
3663
+ # @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
3664
+ def repos_upstream_dart_create_with_http_info(owner, identifier, opts = {})
2869
3665
  if @api_client.config.debugging
2870
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_create ...'
3666
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_create ...'
2871
3667
  end
2872
3668
  # verify the required parameter 'owner' is set
2873
3669
  if @api_client.config.client_side_validation && owner.nil?
2874
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_create"
3670
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_create"
2875
3671
  end
2876
3672
  # verify the required parameter 'identifier' is set
2877
3673
  if @api_client.config.client_side_validation && identifier.nil?
2878
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_create"
3674
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_create"
2879
3675
  end
2880
3676
  # resource path
2881
- local_var_path = '/repos/{owner}/{identifier}/upstream/cran/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3677
+ local_var_path = '/repos/{owner}/{identifier}/upstream/dart/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
2882
3678
 
2883
3679
  # query parameters
2884
3680
  query_params = {}
@@ -2902,49 +3698,49 @@ module CloudsmithApi
2902
3698
  :form_params => form_params,
2903
3699
  :body => post_body,
2904
3700
  :auth_names => auth_names,
2905
- :return_type => 'CranUpstream')
3701
+ :return_type => 'DartUpstream')
2906
3702
  if @api_client.config.debugging
2907
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3703
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2908
3704
  end
2909
3705
  return data, status_code, headers
2910
3706
  end
2911
- # Delete a CRAN upstream config for this repository.
2912
- # Delete a CRAN upstream config for this repository.
3707
+ # Delete a Dart upstream config for this repository.
3708
+ # Delete a Dart upstream config for this repository.
2913
3709
  # @param owner
2914
3710
  # @param identifier
2915
3711
  # @param slug_perm
2916
3712
  # @param [Hash] opts the optional parameters
2917
3713
  # @return [nil]
2918
- def repos_upstream_cran_delete(owner, identifier, slug_perm, opts = {})
2919
- repos_upstream_cran_delete_with_http_info(owner, identifier, slug_perm, opts)
3714
+ def repos_upstream_dart_delete(owner, identifier, slug_perm, opts = {})
3715
+ repos_upstream_dart_delete_with_http_info(owner, identifier, slug_perm, opts)
2920
3716
  nil
2921
3717
  end
2922
3718
 
2923
- # Delete a CRAN upstream config for this repository.
2924
- # Delete a CRAN upstream config for this repository.
3719
+ # Delete a Dart upstream config for this repository.
3720
+ # Delete a Dart upstream config for this repository.
2925
3721
  # @param owner
2926
3722
  # @param identifier
2927
3723
  # @param slug_perm
2928
3724
  # @param [Hash] opts the optional parameters
2929
3725
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2930
- def repos_upstream_cran_delete_with_http_info(owner, identifier, slug_perm, opts = {})
3726
+ def repos_upstream_dart_delete_with_http_info(owner, identifier, slug_perm, opts = {})
2931
3727
  if @api_client.config.debugging
2932
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_delete ...'
3728
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_delete ...'
2933
3729
  end
2934
3730
  # verify the required parameter 'owner' is set
2935
3731
  if @api_client.config.client_side_validation && owner.nil?
2936
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_delete"
3732
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_delete"
2937
3733
  end
2938
3734
  # verify the required parameter 'identifier' is set
2939
3735
  if @api_client.config.client_side_validation && identifier.nil?
2940
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_delete"
3736
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_delete"
2941
3737
  end
2942
3738
  # verify the required parameter 'slug_perm' is set
2943
3739
  if @api_client.config.client_side_validation && slug_perm.nil?
2944
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_delete"
3740
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_delete"
2945
3741
  end
2946
3742
  # resource path
2947
- local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3743
+ local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2948
3744
 
2949
3745
  # query parameters
2950
3746
  query_params = {}
@@ -2969,45 +3765,45 @@ module CloudsmithApi
2969
3765
  :body => post_body,
2970
3766
  :auth_names => auth_names)
2971
3767
  if @api_client.config.debugging
2972
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3768
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2973
3769
  end
2974
3770
  return data, status_code, headers
2975
3771
  end
2976
- # List CRAN upstream configs for this repository.
2977
- # List CRAN upstream configs for this repository.
3772
+ # List Dart upstream configs for this repository.
3773
+ # List Dart upstream configs for this repository.
2978
3774
  # @param owner
2979
3775
  # @param identifier
2980
3776
  # @param [Hash] opts the optional parameters
2981
3777
  # @option opts [Integer] :page A page number within the paginated result set.
2982
3778
  # @option opts [Integer] :page_size Number of results to return per page.
2983
- # @return [Array<CranUpstream>]
2984
- def repos_upstream_cran_list(owner, identifier, opts = {})
2985
- data, _status_code, _headers = repos_upstream_cran_list_with_http_info(owner, identifier, opts)
3779
+ # @return [Array<DartUpstream>]
3780
+ def repos_upstream_dart_list(owner, identifier, opts = {})
3781
+ data, _status_code, _headers = repos_upstream_dart_list_with_http_info(owner, identifier, opts)
2986
3782
  data
2987
3783
  end
2988
3784
 
2989
- # List CRAN upstream configs for this repository.
2990
- # List CRAN upstream configs for this repository.
3785
+ # List Dart upstream configs for this repository.
3786
+ # List Dart upstream configs for this repository.
2991
3787
  # @param owner
2992
3788
  # @param identifier
2993
3789
  # @param [Hash] opts the optional parameters
2994
3790
  # @option opts [Integer] :page A page number within the paginated result set.
2995
3791
  # @option opts [Integer] :page_size Number of results to return per page.
2996
- # @return [Array<(Array<CranUpstream>, Fixnum, Hash)>] Array<CranUpstream> data, response status code and response headers
2997
- def repos_upstream_cran_list_with_http_info(owner, identifier, opts = {})
3792
+ # @return [Array<(Array<DartUpstream>, Fixnum, Hash)>] Array<DartUpstream> data, response status code and response headers
3793
+ def repos_upstream_dart_list_with_http_info(owner, identifier, opts = {})
2998
3794
  if @api_client.config.debugging
2999
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_list ...'
3795
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_list ...'
3000
3796
  end
3001
3797
  # verify the required parameter 'owner' is set
3002
3798
  if @api_client.config.client_side_validation && owner.nil?
3003
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_list"
3799
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_list"
3004
3800
  end
3005
3801
  # verify the required parameter 'identifier' is set
3006
3802
  if @api_client.config.client_side_validation && identifier.nil?
3007
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_list"
3803
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_list"
3008
3804
  end
3009
3805
  # resource path
3010
- local_var_path = '/repos/{owner}/{identifier}/upstream/cran/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3806
+ local_var_path = '/repos/{owner}/{identifier}/upstream/dart/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3011
3807
 
3012
3808
  # query parameters
3013
3809
  query_params = {}
@@ -3033,51 +3829,51 @@ module CloudsmithApi
3033
3829
  :form_params => form_params,
3034
3830
  :body => post_body,
3035
3831
  :auth_names => auth_names,
3036
- :return_type => 'Array<CranUpstream>')
3832
+ :return_type => 'Array<DartUpstream>')
3037
3833
  if @api_client.config.debugging
3038
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3834
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3039
3835
  end
3040
3836
  return data, status_code, headers
3041
3837
  end
3042
- # Partially update a CRAN upstream config for this repository.
3043
- # Partially update a CRAN upstream config for this repository.
3838
+ # Partially update a Dart upstream config for this repository.
3839
+ # Partially update a Dart upstream config for this repository.
3044
3840
  # @param owner
3045
3841
  # @param identifier
3046
3842
  # @param slug_perm
3047
3843
  # @param [Hash] opts the optional parameters
3048
- # @option opts [CranUpstreamRequestPatch] :data
3049
- # @return [CranUpstream]
3050
- def repos_upstream_cran_partial_update(owner, identifier, slug_perm, opts = {})
3051
- data, _status_code, _headers = repos_upstream_cran_partial_update_with_http_info(owner, identifier, slug_perm, opts)
3844
+ # @option opts [DartUpstreamRequestPatch] :data
3845
+ # @return [DartUpstream]
3846
+ def repos_upstream_dart_partial_update(owner, identifier, slug_perm, opts = {})
3847
+ data, _status_code, _headers = repos_upstream_dart_partial_update_with_http_info(owner, identifier, slug_perm, opts)
3052
3848
  data
3053
3849
  end
3054
3850
 
3055
- # Partially update a CRAN upstream config for this repository.
3056
- # Partially update a CRAN upstream config for this repository.
3851
+ # Partially update a Dart upstream config for this repository.
3852
+ # Partially update a Dart upstream config for this repository.
3057
3853
  # @param owner
3058
3854
  # @param identifier
3059
3855
  # @param slug_perm
3060
3856
  # @param [Hash] opts the optional parameters
3061
- # @option opts [CranUpstreamRequestPatch] :data
3062
- # @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
3063
- def repos_upstream_cran_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
3857
+ # @option opts [DartUpstreamRequestPatch] :data
3858
+ # @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
3859
+ def repos_upstream_dart_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
3064
3860
  if @api_client.config.debugging
3065
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_partial_update ...'
3861
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_partial_update ...'
3066
3862
  end
3067
3863
  # verify the required parameter 'owner' is set
3068
3864
  if @api_client.config.client_side_validation && owner.nil?
3069
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_partial_update"
3865
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_partial_update"
3070
3866
  end
3071
3867
  # verify the required parameter 'identifier' is set
3072
3868
  if @api_client.config.client_side_validation && identifier.nil?
3073
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_partial_update"
3869
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_partial_update"
3074
3870
  end
3075
3871
  # verify the required parameter 'slug_perm' is set
3076
3872
  if @api_client.config.client_side_validation && slug_perm.nil?
3077
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_partial_update"
3873
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_partial_update"
3078
3874
  end
3079
3875
  # resource path
3080
- local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3876
+ local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3081
3877
 
3082
3878
  # query parameters
3083
3879
  query_params = {}
@@ -3101,49 +3897,49 @@ module CloudsmithApi
3101
3897
  :form_params => form_params,
3102
3898
  :body => post_body,
3103
3899
  :auth_names => auth_names,
3104
- :return_type => 'CranUpstream')
3900
+ :return_type => 'DartUpstream')
3105
3901
  if @api_client.config.debugging
3106
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3902
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3107
3903
  end
3108
3904
  return data, status_code, headers
3109
3905
  end
3110
- # Retrieve a CRAN upstream config for this repository.
3111
- # Retrieve a CRAN upstream config for this repository.
3906
+ # Retrieve a Dart upstream config for this repository.
3907
+ # Retrieve a Dart upstream config for this repository.
3112
3908
  # @param owner
3113
3909
  # @param identifier
3114
3910
  # @param slug_perm
3115
3911
  # @param [Hash] opts the optional parameters
3116
- # @return [CranUpstream]
3117
- def repos_upstream_cran_read(owner, identifier, slug_perm, opts = {})
3118
- data, _status_code, _headers = repos_upstream_cran_read_with_http_info(owner, identifier, slug_perm, opts)
3912
+ # @return [DartUpstream]
3913
+ def repos_upstream_dart_read(owner, identifier, slug_perm, opts = {})
3914
+ data, _status_code, _headers = repos_upstream_dart_read_with_http_info(owner, identifier, slug_perm, opts)
3119
3915
  data
3120
3916
  end
3121
3917
 
3122
- # Retrieve a CRAN upstream config for this repository.
3123
- # Retrieve a CRAN upstream config for this repository.
3918
+ # Retrieve a Dart upstream config for this repository.
3919
+ # Retrieve a Dart upstream config for this repository.
3124
3920
  # @param owner
3125
3921
  # @param identifier
3126
3922
  # @param slug_perm
3127
3923
  # @param [Hash] opts the optional parameters
3128
- # @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
3129
- def repos_upstream_cran_read_with_http_info(owner, identifier, slug_perm, opts = {})
3924
+ # @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
3925
+ def repos_upstream_dart_read_with_http_info(owner, identifier, slug_perm, opts = {})
3130
3926
  if @api_client.config.debugging
3131
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_read ...'
3927
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_read ...'
3132
3928
  end
3133
3929
  # verify the required parameter 'owner' is set
3134
3930
  if @api_client.config.client_side_validation && owner.nil?
3135
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_read"
3931
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_read"
3136
3932
  end
3137
3933
  # verify the required parameter 'identifier' is set
3138
3934
  if @api_client.config.client_side_validation && identifier.nil?
3139
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_read"
3935
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_read"
3140
3936
  end
3141
3937
  # verify the required parameter 'slug_perm' is set
3142
3938
  if @api_client.config.client_side_validation && slug_perm.nil?
3143
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_read"
3939
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_read"
3144
3940
  end
3145
3941
  # resource path
3146
- local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3942
+ local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3147
3943
 
3148
3944
  # query parameters
3149
3945
  query_params = {}
@@ -3167,51 +3963,51 @@ module CloudsmithApi
3167
3963
  :form_params => form_params,
3168
3964
  :body => post_body,
3169
3965
  :auth_names => auth_names,
3170
- :return_type => 'CranUpstream')
3966
+ :return_type => 'DartUpstream')
3171
3967
  if @api_client.config.debugging
3172
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3968
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3173
3969
  end
3174
3970
  return data, status_code, headers
3175
3971
  end
3176
- # Update a CRAN upstream config for this repository.
3177
- # Update a CRAN upstream config for this repository.
3972
+ # Update a Dart upstream config for this repository.
3973
+ # Update a Dart upstream config for this repository.
3178
3974
  # @param owner
3179
3975
  # @param identifier
3180
3976
  # @param slug_perm
3181
3977
  # @param [Hash] opts the optional parameters
3182
- # @option opts [CranUpstreamRequest] :data
3183
- # @return [CranUpstream]
3184
- def repos_upstream_cran_update(owner, identifier, slug_perm, opts = {})
3185
- data, _status_code, _headers = repos_upstream_cran_update_with_http_info(owner, identifier, slug_perm, opts)
3978
+ # @option opts [DartUpstreamRequest] :data
3979
+ # @return [DartUpstream]
3980
+ def repos_upstream_dart_update(owner, identifier, slug_perm, opts = {})
3981
+ data, _status_code, _headers = repos_upstream_dart_update_with_http_info(owner, identifier, slug_perm, opts)
3186
3982
  data
3187
3983
  end
3188
3984
 
3189
- # Update a CRAN upstream config for this repository.
3190
- # Update a CRAN upstream config for this repository.
3985
+ # Update a Dart upstream config for this repository.
3986
+ # Update a Dart upstream config for this repository.
3191
3987
  # @param owner
3192
3988
  # @param identifier
3193
3989
  # @param slug_perm
3194
3990
  # @param [Hash] opts the optional parameters
3195
- # @option opts [CranUpstreamRequest] :data
3196
- # @return [Array<(CranUpstream, Fixnum, Hash)>] CranUpstream data, response status code and response headers
3197
- def repos_upstream_cran_update_with_http_info(owner, identifier, slug_perm, opts = {})
3991
+ # @option opts [DartUpstreamRequest] :data
3992
+ # @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
3993
+ def repos_upstream_dart_update_with_http_info(owner, identifier, slug_perm, opts = {})
3198
3994
  if @api_client.config.debugging
3199
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_cran_update ...'
3995
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_update ...'
3200
3996
  end
3201
3997
  # verify the required parameter 'owner' is set
3202
3998
  if @api_client.config.client_side_validation && owner.nil?
3203
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_cran_update"
3999
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_update"
3204
4000
  end
3205
4001
  # verify the required parameter 'identifier' is set
3206
4002
  if @api_client.config.client_side_validation && identifier.nil?
3207
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_cran_update"
4003
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_update"
3208
4004
  end
3209
4005
  # verify the required parameter 'slug_perm' is set
3210
4006
  if @api_client.config.client_side_validation && slug_perm.nil?
3211
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_cran_update"
4007
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_update"
3212
4008
  end
3213
4009
  # resource path
3214
- local_var_path = '/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4010
+ local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3215
4011
 
3216
4012
  # query parameters
3217
4013
  query_params = {}
@@ -3235,45 +4031,45 @@ module CloudsmithApi
3235
4031
  :form_params => form_params,
3236
4032
  :body => post_body,
3237
4033
  :auth_names => auth_names,
3238
- :return_type => 'CranUpstream')
4034
+ :return_type => 'DartUpstream')
3239
4035
  if @api_client.config.debugging
3240
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_cran_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4036
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3241
4037
  end
3242
4038
  return data, status_code, headers
3243
4039
  end
3244
- # Create a Dart upstream config for this repository.
3245
- # Create a Dart upstream config for this repository.
4040
+ # Create a Debian upstream config for this repository.
4041
+ # Create a Debian upstream config for this repository.
3246
4042
  # @param owner
3247
4043
  # @param identifier
3248
4044
  # @param [Hash] opts the optional parameters
3249
- # @option opts [DartUpstreamRequest] :data
3250
- # @return [DartUpstream]
3251
- def repos_upstream_dart_create(owner, identifier, opts = {})
3252
- data, _status_code, _headers = repos_upstream_dart_create_with_http_info(owner, identifier, opts)
4045
+ # @option opts [DebUpstreamRequest] :data
4046
+ # @return [DebUpstream]
4047
+ def repos_upstream_deb_create(owner, identifier, opts = {})
4048
+ data, _status_code, _headers = repos_upstream_deb_create_with_http_info(owner, identifier, opts)
3253
4049
  data
3254
4050
  end
3255
4051
 
3256
- # Create a Dart upstream config for this repository.
3257
- # Create a Dart upstream config for this repository.
4052
+ # Create a Debian upstream config for this repository.
4053
+ # Create a Debian upstream config for this repository.
3258
4054
  # @param owner
3259
4055
  # @param identifier
3260
4056
  # @param [Hash] opts the optional parameters
3261
- # @option opts [DartUpstreamRequest] :data
3262
- # @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
3263
- def repos_upstream_dart_create_with_http_info(owner, identifier, opts = {})
4057
+ # @option opts [DebUpstreamRequest] :data
4058
+ # @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
4059
+ def repos_upstream_deb_create_with_http_info(owner, identifier, opts = {})
3264
4060
  if @api_client.config.debugging
3265
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_create ...'
4061
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_create ...'
3266
4062
  end
3267
4063
  # verify the required parameter 'owner' is set
3268
4064
  if @api_client.config.client_side_validation && owner.nil?
3269
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_create"
4065
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_create"
3270
4066
  end
3271
4067
  # verify the required parameter 'identifier' is set
3272
4068
  if @api_client.config.client_side_validation && identifier.nil?
3273
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_create"
4069
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_create"
3274
4070
  end
3275
4071
  # resource path
3276
- local_var_path = '/repos/{owner}/{identifier}/upstream/dart/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
4072
+ local_var_path = '/repos/{owner}/{identifier}/upstream/deb/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3277
4073
 
3278
4074
  # query parameters
3279
4075
  query_params = {}
@@ -3297,49 +4093,49 @@ module CloudsmithApi
3297
4093
  :form_params => form_params,
3298
4094
  :body => post_body,
3299
4095
  :auth_names => auth_names,
3300
- :return_type => 'DartUpstream')
4096
+ :return_type => 'DebUpstream')
3301
4097
  if @api_client.config.debugging
3302
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4098
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3303
4099
  end
3304
4100
  return data, status_code, headers
3305
4101
  end
3306
- # Delete a Dart upstream config for this repository.
3307
- # Delete a Dart upstream config for this repository.
4102
+ # Delete a Debian upstream config for this repository.
4103
+ # Delete a Debian upstream config for this repository.
3308
4104
  # @param owner
3309
4105
  # @param identifier
3310
4106
  # @param slug_perm
3311
4107
  # @param [Hash] opts the optional parameters
3312
4108
  # @return [nil]
3313
- def repos_upstream_dart_delete(owner, identifier, slug_perm, opts = {})
3314
- repos_upstream_dart_delete_with_http_info(owner, identifier, slug_perm, opts)
4109
+ def repos_upstream_deb_delete(owner, identifier, slug_perm, opts = {})
4110
+ repos_upstream_deb_delete_with_http_info(owner, identifier, slug_perm, opts)
3315
4111
  nil
3316
4112
  end
3317
4113
 
3318
- # Delete a Dart upstream config for this repository.
3319
- # Delete a Dart upstream config for this repository.
4114
+ # Delete a Debian upstream config for this repository.
4115
+ # Delete a Debian upstream config for this repository.
3320
4116
  # @param owner
3321
4117
  # @param identifier
3322
4118
  # @param slug_perm
3323
4119
  # @param [Hash] opts the optional parameters
3324
4120
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3325
- def repos_upstream_dart_delete_with_http_info(owner, identifier, slug_perm, opts = {})
4121
+ def repos_upstream_deb_delete_with_http_info(owner, identifier, slug_perm, opts = {})
3326
4122
  if @api_client.config.debugging
3327
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_delete ...'
4123
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_delete ...'
3328
4124
  end
3329
4125
  # verify the required parameter 'owner' is set
3330
4126
  if @api_client.config.client_side_validation && owner.nil?
3331
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_delete"
4127
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_delete"
3332
4128
  end
3333
4129
  # verify the required parameter 'identifier' is set
3334
4130
  if @api_client.config.client_side_validation && identifier.nil?
3335
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_delete"
4131
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_delete"
3336
4132
  end
3337
4133
  # verify the required parameter 'slug_perm' is set
3338
4134
  if @api_client.config.client_side_validation && slug_perm.nil?
3339
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_delete"
4135
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_delete"
3340
4136
  end
3341
4137
  # resource path
3342
- local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4138
+ local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3343
4139
 
3344
4140
  # query parameters
3345
4141
  query_params = {}
@@ -3364,45 +4160,45 @@ module CloudsmithApi
3364
4160
  :body => post_body,
3365
4161
  :auth_names => auth_names)
3366
4162
  if @api_client.config.debugging
3367
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4163
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3368
4164
  end
3369
4165
  return data, status_code, headers
3370
4166
  end
3371
- # List Dart upstream configs for this repository.
3372
- # List Dart upstream configs for this repository.
4167
+ # List Debian upstream configs for this repository.
4168
+ # List Debian upstream configs for this repository.
3373
4169
  # @param owner
3374
4170
  # @param identifier
3375
4171
  # @param [Hash] opts the optional parameters
3376
4172
  # @option opts [Integer] :page A page number within the paginated result set.
3377
4173
  # @option opts [Integer] :page_size Number of results to return per page.
3378
- # @return [Array<DartUpstream>]
3379
- def repos_upstream_dart_list(owner, identifier, opts = {})
3380
- data, _status_code, _headers = repos_upstream_dart_list_with_http_info(owner, identifier, opts)
4174
+ # @return [Array<DebUpstream>]
4175
+ def repos_upstream_deb_list(owner, identifier, opts = {})
4176
+ data, _status_code, _headers = repos_upstream_deb_list_with_http_info(owner, identifier, opts)
3381
4177
  data
3382
4178
  end
3383
4179
 
3384
- # List Dart upstream configs for this repository.
3385
- # List Dart upstream configs for this repository.
4180
+ # List Debian upstream configs for this repository.
4181
+ # List Debian upstream configs for this repository.
3386
4182
  # @param owner
3387
4183
  # @param identifier
3388
4184
  # @param [Hash] opts the optional parameters
3389
4185
  # @option opts [Integer] :page A page number within the paginated result set.
3390
4186
  # @option opts [Integer] :page_size Number of results to return per page.
3391
- # @return [Array<(Array<DartUpstream>, Fixnum, Hash)>] Array<DartUpstream> data, response status code and response headers
3392
- def repos_upstream_dart_list_with_http_info(owner, identifier, opts = {})
4187
+ # @return [Array<(Array<DebUpstream>, Fixnum, Hash)>] Array<DebUpstream> data, response status code and response headers
4188
+ def repos_upstream_deb_list_with_http_info(owner, identifier, opts = {})
3393
4189
  if @api_client.config.debugging
3394
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_list ...'
4190
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_list ...'
3395
4191
  end
3396
4192
  # verify the required parameter 'owner' is set
3397
4193
  if @api_client.config.client_side_validation && owner.nil?
3398
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_list"
4194
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_list"
3399
4195
  end
3400
4196
  # verify the required parameter 'identifier' is set
3401
4197
  if @api_client.config.client_side_validation && identifier.nil?
3402
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_list"
4198
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_list"
3403
4199
  end
3404
4200
  # resource path
3405
- local_var_path = '/repos/{owner}/{identifier}/upstream/dart/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
4201
+ local_var_path = '/repos/{owner}/{identifier}/upstream/deb/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3406
4202
 
3407
4203
  # query parameters
3408
4204
  query_params = {}
@@ -3428,51 +4224,51 @@ module CloudsmithApi
3428
4224
  :form_params => form_params,
3429
4225
  :body => post_body,
3430
4226
  :auth_names => auth_names,
3431
- :return_type => 'Array<DartUpstream>')
4227
+ :return_type => 'Array<DebUpstream>')
3432
4228
  if @api_client.config.debugging
3433
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4229
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3434
4230
  end
3435
4231
  return data, status_code, headers
3436
4232
  end
3437
- # Partially update a Dart upstream config for this repository.
3438
- # Partially update a Dart upstream config for this repository.
4233
+ # Partially update a Debian upstream config for this repository.
4234
+ # Partially update a Debian upstream config for this repository.
3439
4235
  # @param owner
3440
4236
  # @param identifier
3441
4237
  # @param slug_perm
3442
4238
  # @param [Hash] opts the optional parameters
3443
- # @option opts [DartUpstreamRequestPatch] :data
3444
- # @return [DartUpstream]
3445
- def repos_upstream_dart_partial_update(owner, identifier, slug_perm, opts = {})
3446
- data, _status_code, _headers = repos_upstream_dart_partial_update_with_http_info(owner, identifier, slug_perm, opts)
4239
+ # @option opts [DebUpstreamRequestPatch] :data
4240
+ # @return [DebUpstream]
4241
+ def repos_upstream_deb_partial_update(owner, identifier, slug_perm, opts = {})
4242
+ data, _status_code, _headers = repos_upstream_deb_partial_update_with_http_info(owner, identifier, slug_perm, opts)
3447
4243
  data
3448
4244
  end
3449
4245
 
3450
- # Partially update a Dart upstream config for this repository.
3451
- # Partially update a Dart upstream config for this repository.
4246
+ # Partially update a Debian upstream config for this repository.
4247
+ # Partially update a Debian upstream config for this repository.
3452
4248
  # @param owner
3453
4249
  # @param identifier
3454
4250
  # @param slug_perm
3455
4251
  # @param [Hash] opts the optional parameters
3456
- # @option opts [DartUpstreamRequestPatch] :data
3457
- # @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
3458
- def repos_upstream_dart_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
4252
+ # @option opts [DebUpstreamRequestPatch] :data
4253
+ # @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
4254
+ def repos_upstream_deb_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
3459
4255
  if @api_client.config.debugging
3460
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_partial_update ...'
4256
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_partial_update ...'
3461
4257
  end
3462
4258
  # verify the required parameter 'owner' is set
3463
4259
  if @api_client.config.client_side_validation && owner.nil?
3464
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_partial_update"
4260
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_partial_update"
3465
4261
  end
3466
4262
  # verify the required parameter 'identifier' is set
3467
4263
  if @api_client.config.client_side_validation && identifier.nil?
3468
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_partial_update"
4264
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_partial_update"
3469
4265
  end
3470
4266
  # verify the required parameter 'slug_perm' is set
3471
4267
  if @api_client.config.client_side_validation && slug_perm.nil?
3472
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_partial_update"
4268
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_partial_update"
3473
4269
  end
3474
4270
  # resource path
3475
- local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4271
+ local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3476
4272
 
3477
4273
  # query parameters
3478
4274
  query_params = {}
@@ -3496,49 +4292,49 @@ module CloudsmithApi
3496
4292
  :form_params => form_params,
3497
4293
  :body => post_body,
3498
4294
  :auth_names => auth_names,
3499
- :return_type => 'DartUpstream')
4295
+ :return_type => 'DebUpstream')
3500
4296
  if @api_client.config.debugging
3501
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4297
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3502
4298
  end
3503
4299
  return data, status_code, headers
3504
4300
  end
3505
- # Retrieve a Dart upstream config for this repository.
3506
- # Retrieve a Dart upstream config for this repository.
4301
+ # Retrieve a Debian upstream config for this repository.
4302
+ # Retrieve a Debian upstream config for this repository.
3507
4303
  # @param owner
3508
4304
  # @param identifier
3509
4305
  # @param slug_perm
3510
4306
  # @param [Hash] opts the optional parameters
3511
- # @return [DartUpstream]
3512
- def repos_upstream_dart_read(owner, identifier, slug_perm, opts = {})
3513
- data, _status_code, _headers = repos_upstream_dart_read_with_http_info(owner, identifier, slug_perm, opts)
4307
+ # @return [DebUpstream]
4308
+ def repos_upstream_deb_read(owner, identifier, slug_perm, opts = {})
4309
+ data, _status_code, _headers = repos_upstream_deb_read_with_http_info(owner, identifier, slug_perm, opts)
3514
4310
  data
3515
4311
  end
3516
4312
 
3517
- # Retrieve a Dart upstream config for this repository.
3518
- # Retrieve a Dart upstream config for this repository.
4313
+ # Retrieve a Debian upstream config for this repository.
4314
+ # Retrieve a Debian upstream config for this repository.
3519
4315
  # @param owner
3520
4316
  # @param identifier
3521
4317
  # @param slug_perm
3522
4318
  # @param [Hash] opts the optional parameters
3523
- # @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
3524
- def repos_upstream_dart_read_with_http_info(owner, identifier, slug_perm, opts = {})
4319
+ # @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
4320
+ def repos_upstream_deb_read_with_http_info(owner, identifier, slug_perm, opts = {})
3525
4321
  if @api_client.config.debugging
3526
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_read ...'
4322
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_read ...'
3527
4323
  end
3528
4324
  # verify the required parameter 'owner' is set
3529
4325
  if @api_client.config.client_side_validation && owner.nil?
3530
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_read"
4326
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_read"
3531
4327
  end
3532
4328
  # verify the required parameter 'identifier' is set
3533
4329
  if @api_client.config.client_side_validation && identifier.nil?
3534
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_read"
4330
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_read"
3535
4331
  end
3536
4332
  # verify the required parameter 'slug_perm' is set
3537
4333
  if @api_client.config.client_side_validation && slug_perm.nil?
3538
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_read"
4334
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_read"
3539
4335
  end
3540
4336
  # resource path
3541
- local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4337
+ local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3542
4338
 
3543
4339
  # query parameters
3544
4340
  query_params = {}
@@ -3562,51 +4358,51 @@ module CloudsmithApi
3562
4358
  :form_params => form_params,
3563
4359
  :body => post_body,
3564
4360
  :auth_names => auth_names,
3565
- :return_type => 'DartUpstream')
4361
+ :return_type => 'DebUpstream')
3566
4362
  if @api_client.config.debugging
3567
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4363
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3568
4364
  end
3569
4365
  return data, status_code, headers
3570
4366
  end
3571
- # Update a Dart upstream config for this repository.
3572
- # Update a Dart upstream config for this repository.
4367
+ # Update a Debian upstream config for this repository.
4368
+ # Update a Debian upstream config for this repository.
3573
4369
  # @param owner
3574
4370
  # @param identifier
3575
4371
  # @param slug_perm
3576
4372
  # @param [Hash] opts the optional parameters
3577
- # @option opts [DartUpstreamRequest] :data
3578
- # @return [DartUpstream]
3579
- def repos_upstream_dart_update(owner, identifier, slug_perm, opts = {})
3580
- data, _status_code, _headers = repos_upstream_dart_update_with_http_info(owner, identifier, slug_perm, opts)
4373
+ # @option opts [DebUpstreamRequest] :data
4374
+ # @return [DebUpstream]
4375
+ def repos_upstream_deb_update(owner, identifier, slug_perm, opts = {})
4376
+ data, _status_code, _headers = repos_upstream_deb_update_with_http_info(owner, identifier, slug_perm, opts)
3581
4377
  data
3582
4378
  end
3583
4379
 
3584
- # Update a Dart upstream config for this repository.
3585
- # Update a Dart upstream config for this repository.
4380
+ # Update a Debian upstream config for this repository.
4381
+ # Update a Debian upstream config for this repository.
3586
4382
  # @param owner
3587
4383
  # @param identifier
3588
4384
  # @param slug_perm
3589
4385
  # @param [Hash] opts the optional parameters
3590
- # @option opts [DartUpstreamRequest] :data
3591
- # @return [Array<(DartUpstream, Fixnum, Hash)>] DartUpstream data, response status code and response headers
3592
- def repos_upstream_dart_update_with_http_info(owner, identifier, slug_perm, opts = {})
4386
+ # @option opts [DebUpstreamRequest] :data
4387
+ # @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
4388
+ def repos_upstream_deb_update_with_http_info(owner, identifier, slug_perm, opts = {})
3593
4389
  if @api_client.config.debugging
3594
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_dart_update ...'
4390
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_update ...'
3595
4391
  end
3596
4392
  # verify the required parameter 'owner' is set
3597
4393
  if @api_client.config.client_side_validation && owner.nil?
3598
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_dart_update"
4394
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_update"
3599
4395
  end
3600
4396
  # verify the required parameter 'identifier' is set
3601
4397
  if @api_client.config.client_side_validation && identifier.nil?
3602
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_dart_update"
4398
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_update"
3603
4399
  end
3604
4400
  # verify the required parameter 'slug_perm' is set
3605
4401
  if @api_client.config.client_side_validation && slug_perm.nil?
3606
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_dart_update"
4402
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_update"
3607
4403
  end
3608
4404
  # resource path
3609
- local_var_path = '/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4405
+ local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3610
4406
 
3611
4407
  # query parameters
3612
4408
  query_params = {}
@@ -3630,45 +4426,45 @@ module CloudsmithApi
3630
4426
  :form_params => form_params,
3631
4427
  :body => post_body,
3632
4428
  :auth_names => auth_names,
3633
- :return_type => 'DartUpstream')
4429
+ :return_type => 'DebUpstream')
3634
4430
  if @api_client.config.debugging
3635
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_dart_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4431
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3636
4432
  end
3637
4433
  return data, status_code, headers
3638
4434
  end
3639
- # Create a Debian upstream config for this repository.
3640
- # Create a Debian upstream config for this repository.
4435
+ # Create a Docker upstream config for this repository.
4436
+ # Create a Docker upstream config for this repository.
3641
4437
  # @param owner
3642
4438
  # @param identifier
3643
4439
  # @param [Hash] opts the optional parameters
3644
- # @option opts [DebUpstreamRequest] :data
3645
- # @return [DebUpstream]
3646
- def repos_upstream_deb_create(owner, identifier, opts = {})
3647
- data, _status_code, _headers = repos_upstream_deb_create_with_http_info(owner, identifier, opts)
4440
+ # @option opts [DockerUpstreamRequest] :data
4441
+ # @return [DockerUpstream]
4442
+ def repos_upstream_docker_create(owner, identifier, opts = {})
4443
+ data, _status_code, _headers = repos_upstream_docker_create_with_http_info(owner, identifier, opts)
3648
4444
  data
3649
4445
  end
3650
4446
 
3651
- # Create a Debian upstream config for this repository.
3652
- # Create a Debian upstream config for this repository.
4447
+ # Create a Docker upstream config for this repository.
4448
+ # Create a Docker upstream config for this repository.
3653
4449
  # @param owner
3654
4450
  # @param identifier
3655
4451
  # @param [Hash] opts the optional parameters
3656
- # @option opts [DebUpstreamRequest] :data
3657
- # @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
3658
- def repos_upstream_deb_create_with_http_info(owner, identifier, opts = {})
4452
+ # @option opts [DockerUpstreamRequest] :data
4453
+ # @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
4454
+ def repos_upstream_docker_create_with_http_info(owner, identifier, opts = {})
3659
4455
  if @api_client.config.debugging
3660
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_create ...'
4456
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_create ...'
3661
4457
  end
3662
4458
  # verify the required parameter 'owner' is set
3663
4459
  if @api_client.config.client_side_validation && owner.nil?
3664
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_create"
4460
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_create"
3665
4461
  end
3666
4462
  # verify the required parameter 'identifier' is set
3667
4463
  if @api_client.config.client_side_validation && identifier.nil?
3668
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_create"
4464
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_create"
3669
4465
  end
3670
4466
  # resource path
3671
- local_var_path = '/repos/{owner}/{identifier}/upstream/deb/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
4467
+ local_var_path = '/repos/{owner}/{identifier}/upstream/docker/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3672
4468
 
3673
4469
  # query parameters
3674
4470
  query_params = {}
@@ -3692,49 +4488,49 @@ module CloudsmithApi
3692
4488
  :form_params => form_params,
3693
4489
  :body => post_body,
3694
4490
  :auth_names => auth_names,
3695
- :return_type => 'DebUpstream')
4491
+ :return_type => 'DockerUpstream')
3696
4492
  if @api_client.config.debugging
3697
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4493
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3698
4494
  end
3699
4495
  return data, status_code, headers
3700
- end
3701
- # Delete a Debian upstream config for this repository.
3702
- # Delete a Debian upstream config for this repository.
4496
+ end
4497
+ # Delete a Docker upstream config for this repository.
4498
+ # Delete a Docker upstream config for this repository.
3703
4499
  # @param owner
3704
4500
  # @param identifier
3705
4501
  # @param slug_perm
3706
4502
  # @param [Hash] opts the optional parameters
3707
4503
  # @return [nil]
3708
- def repos_upstream_deb_delete(owner, identifier, slug_perm, opts = {})
3709
- repos_upstream_deb_delete_with_http_info(owner, identifier, slug_perm, opts)
4504
+ def repos_upstream_docker_delete(owner, identifier, slug_perm, opts = {})
4505
+ repos_upstream_docker_delete_with_http_info(owner, identifier, slug_perm, opts)
3710
4506
  nil
3711
4507
  end
3712
4508
 
3713
- # Delete a Debian upstream config for this repository.
3714
- # Delete a Debian upstream config for this repository.
4509
+ # Delete a Docker upstream config for this repository.
4510
+ # Delete a Docker upstream config for this repository.
3715
4511
  # @param owner
3716
4512
  # @param identifier
3717
4513
  # @param slug_perm
3718
4514
  # @param [Hash] opts the optional parameters
3719
4515
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3720
- def repos_upstream_deb_delete_with_http_info(owner, identifier, slug_perm, opts = {})
4516
+ def repos_upstream_docker_delete_with_http_info(owner, identifier, slug_perm, opts = {})
3721
4517
  if @api_client.config.debugging
3722
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_delete ...'
4518
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_delete ...'
3723
4519
  end
3724
4520
  # verify the required parameter 'owner' is set
3725
4521
  if @api_client.config.client_side_validation && owner.nil?
3726
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_delete"
4522
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_delete"
3727
4523
  end
3728
4524
  # verify the required parameter 'identifier' is set
3729
4525
  if @api_client.config.client_side_validation && identifier.nil?
3730
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_delete"
4526
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_delete"
3731
4527
  end
3732
4528
  # verify the required parameter 'slug_perm' is set
3733
4529
  if @api_client.config.client_side_validation && slug_perm.nil?
3734
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_delete"
4530
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_delete"
3735
4531
  end
3736
4532
  # resource path
3737
- local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4533
+ local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3738
4534
 
3739
4535
  # query parameters
3740
4536
  query_params = {}
@@ -3759,45 +4555,45 @@ module CloudsmithApi
3759
4555
  :body => post_body,
3760
4556
  :auth_names => auth_names)
3761
4557
  if @api_client.config.debugging
3762
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4558
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3763
4559
  end
3764
4560
  return data, status_code, headers
3765
4561
  end
3766
- # List Debian upstream configs for this repository.
3767
- # List Debian upstream configs for this repository.
4562
+ # List Docker upstream configs for this repository.
4563
+ # List Docker upstream configs for this repository.
3768
4564
  # @param owner
3769
4565
  # @param identifier
3770
4566
  # @param [Hash] opts the optional parameters
3771
4567
  # @option opts [Integer] :page A page number within the paginated result set.
3772
4568
  # @option opts [Integer] :page_size Number of results to return per page.
3773
- # @return [Array<DebUpstream>]
3774
- def repos_upstream_deb_list(owner, identifier, opts = {})
3775
- data, _status_code, _headers = repos_upstream_deb_list_with_http_info(owner, identifier, opts)
4569
+ # @return [Array<DockerUpstream>]
4570
+ def repos_upstream_docker_list(owner, identifier, opts = {})
4571
+ data, _status_code, _headers = repos_upstream_docker_list_with_http_info(owner, identifier, opts)
3776
4572
  data
3777
4573
  end
3778
4574
 
3779
- # List Debian upstream configs for this repository.
3780
- # List Debian upstream configs for this repository.
4575
+ # List Docker upstream configs for this repository.
4576
+ # List Docker upstream configs for this repository.
3781
4577
  # @param owner
3782
4578
  # @param identifier
3783
4579
  # @param [Hash] opts the optional parameters
3784
4580
  # @option opts [Integer] :page A page number within the paginated result set.
3785
4581
  # @option opts [Integer] :page_size Number of results to return per page.
3786
- # @return [Array<(Array<DebUpstream>, Fixnum, Hash)>] Array<DebUpstream> data, response status code and response headers
3787
- def repos_upstream_deb_list_with_http_info(owner, identifier, opts = {})
4582
+ # @return [Array<(Array<DockerUpstream>, Fixnum, Hash)>] Array<DockerUpstream> data, response status code and response headers
4583
+ def repos_upstream_docker_list_with_http_info(owner, identifier, opts = {})
3788
4584
  if @api_client.config.debugging
3789
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_list ...'
4585
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_list ...'
3790
4586
  end
3791
4587
  # verify the required parameter 'owner' is set
3792
4588
  if @api_client.config.client_side_validation && owner.nil?
3793
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_list"
4589
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_list"
3794
4590
  end
3795
4591
  # verify the required parameter 'identifier' is set
3796
4592
  if @api_client.config.client_side_validation && identifier.nil?
3797
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_list"
4593
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_list"
3798
4594
  end
3799
4595
  # resource path
3800
- local_var_path = '/repos/{owner}/{identifier}/upstream/deb/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
4596
+ local_var_path = '/repos/{owner}/{identifier}/upstream/docker/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
3801
4597
 
3802
4598
  # query parameters
3803
4599
  query_params = {}
@@ -3823,51 +4619,51 @@ module CloudsmithApi
3823
4619
  :form_params => form_params,
3824
4620
  :body => post_body,
3825
4621
  :auth_names => auth_names,
3826
- :return_type => 'Array<DebUpstream>')
4622
+ :return_type => 'Array<DockerUpstream>')
3827
4623
  if @api_client.config.debugging
3828
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4624
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3829
4625
  end
3830
4626
  return data, status_code, headers
3831
4627
  end
3832
- # Partially update a Debian upstream config for this repository.
3833
- # Partially update a Debian upstream config for this repository.
4628
+ # Partially update a Docker upstream config for this repository.
4629
+ # Partially update a Docker upstream config for this repository.
3834
4630
  # @param owner
3835
4631
  # @param identifier
3836
4632
  # @param slug_perm
3837
4633
  # @param [Hash] opts the optional parameters
3838
- # @option opts [DebUpstreamRequestPatch] :data
3839
- # @return [DebUpstream]
3840
- def repos_upstream_deb_partial_update(owner, identifier, slug_perm, opts = {})
3841
- data, _status_code, _headers = repos_upstream_deb_partial_update_with_http_info(owner, identifier, slug_perm, opts)
4634
+ # @option opts [DockerUpstreamRequestPatch] :data
4635
+ # @return [DockerUpstream]
4636
+ def repos_upstream_docker_partial_update(owner, identifier, slug_perm, opts = {})
4637
+ data, _status_code, _headers = repos_upstream_docker_partial_update_with_http_info(owner, identifier, slug_perm, opts)
3842
4638
  data
3843
4639
  end
3844
4640
 
3845
- # Partially update a Debian upstream config for this repository.
3846
- # Partially update a Debian upstream config for this repository.
4641
+ # Partially update a Docker upstream config for this repository.
4642
+ # Partially update a Docker upstream config for this repository.
3847
4643
  # @param owner
3848
4644
  # @param identifier
3849
4645
  # @param slug_perm
3850
4646
  # @param [Hash] opts the optional parameters
3851
- # @option opts [DebUpstreamRequestPatch] :data
3852
- # @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
3853
- def repos_upstream_deb_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
4647
+ # @option opts [DockerUpstreamRequestPatch] :data
4648
+ # @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
4649
+ def repos_upstream_docker_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
3854
4650
  if @api_client.config.debugging
3855
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_partial_update ...'
4651
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_partial_update ...'
3856
4652
  end
3857
4653
  # verify the required parameter 'owner' is set
3858
4654
  if @api_client.config.client_side_validation && owner.nil?
3859
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_partial_update"
4655
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_partial_update"
3860
4656
  end
3861
4657
  # verify the required parameter 'identifier' is set
3862
4658
  if @api_client.config.client_side_validation && identifier.nil?
3863
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_partial_update"
4659
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_partial_update"
3864
4660
  end
3865
4661
  # verify the required parameter 'slug_perm' is set
3866
4662
  if @api_client.config.client_side_validation && slug_perm.nil?
3867
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_partial_update"
4663
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_partial_update"
3868
4664
  end
3869
4665
  # resource path
3870
- local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4666
+ local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3871
4667
 
3872
4668
  # query parameters
3873
4669
  query_params = {}
@@ -3891,49 +4687,49 @@ module CloudsmithApi
3891
4687
  :form_params => form_params,
3892
4688
  :body => post_body,
3893
4689
  :auth_names => auth_names,
3894
- :return_type => 'DebUpstream')
4690
+ :return_type => 'DockerUpstream')
3895
4691
  if @api_client.config.debugging
3896
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4692
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3897
4693
  end
3898
4694
  return data, status_code, headers
3899
4695
  end
3900
- # Retrieve a Debian upstream config for this repository.
3901
- # Retrieve a Debian upstream config for this repository.
4696
+ # Retrieve a Docker upstream config for this repository.
4697
+ # Retrieve a Docker upstream config for this repository.
3902
4698
  # @param owner
3903
4699
  # @param identifier
3904
4700
  # @param slug_perm
3905
4701
  # @param [Hash] opts the optional parameters
3906
- # @return [DebUpstream]
3907
- def repos_upstream_deb_read(owner, identifier, slug_perm, opts = {})
3908
- data, _status_code, _headers = repos_upstream_deb_read_with_http_info(owner, identifier, slug_perm, opts)
4702
+ # @return [DockerUpstream]
4703
+ def repos_upstream_docker_read(owner, identifier, slug_perm, opts = {})
4704
+ data, _status_code, _headers = repos_upstream_docker_read_with_http_info(owner, identifier, slug_perm, opts)
3909
4705
  data
3910
4706
  end
3911
4707
 
3912
- # Retrieve a Debian upstream config for this repository.
3913
- # Retrieve a Debian upstream config for this repository.
4708
+ # Retrieve a Docker upstream config for this repository.
4709
+ # Retrieve a Docker upstream config for this repository.
3914
4710
  # @param owner
3915
4711
  # @param identifier
3916
4712
  # @param slug_perm
3917
4713
  # @param [Hash] opts the optional parameters
3918
- # @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
3919
- def repos_upstream_deb_read_with_http_info(owner, identifier, slug_perm, opts = {})
4714
+ # @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
4715
+ def repos_upstream_docker_read_with_http_info(owner, identifier, slug_perm, opts = {})
3920
4716
  if @api_client.config.debugging
3921
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_read ...'
4717
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_read ...'
3922
4718
  end
3923
4719
  # verify the required parameter 'owner' is set
3924
4720
  if @api_client.config.client_side_validation && owner.nil?
3925
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_read"
4721
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_read"
3926
4722
  end
3927
4723
  # verify the required parameter 'identifier' is set
3928
4724
  if @api_client.config.client_side_validation && identifier.nil?
3929
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_read"
4725
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_read"
3930
4726
  end
3931
4727
  # verify the required parameter 'slug_perm' is set
3932
4728
  if @api_client.config.client_side_validation && slug_perm.nil?
3933
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_read"
4729
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_read"
3934
4730
  end
3935
4731
  # resource path
3936
- local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4732
+ local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
3937
4733
 
3938
4734
  # query parameters
3939
4735
  query_params = {}
@@ -3957,51 +4753,51 @@ module CloudsmithApi
3957
4753
  :form_params => form_params,
3958
4754
  :body => post_body,
3959
4755
  :auth_names => auth_names,
3960
- :return_type => 'DebUpstream')
4756
+ :return_type => 'DockerUpstream')
3961
4757
  if @api_client.config.debugging
3962
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4758
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3963
4759
  end
3964
4760
  return data, status_code, headers
3965
4761
  end
3966
- # Update a Debian upstream config for this repository.
3967
- # Update a Debian upstream config for this repository.
4762
+ # Update a Docker upstream config for this repository.
4763
+ # Update a Docker upstream config for this repository.
3968
4764
  # @param owner
3969
4765
  # @param identifier
3970
4766
  # @param slug_perm
3971
4767
  # @param [Hash] opts the optional parameters
3972
- # @option opts [DebUpstreamRequest] :data
3973
- # @return [DebUpstream]
3974
- def repos_upstream_deb_update(owner, identifier, slug_perm, opts = {})
3975
- data, _status_code, _headers = repos_upstream_deb_update_with_http_info(owner, identifier, slug_perm, opts)
4768
+ # @option opts [DockerUpstreamRequest] :data
4769
+ # @return [DockerUpstream]
4770
+ def repos_upstream_docker_update(owner, identifier, slug_perm, opts = {})
4771
+ data, _status_code, _headers = repos_upstream_docker_update_with_http_info(owner, identifier, slug_perm, opts)
3976
4772
  data
3977
4773
  end
3978
4774
 
3979
- # Update a Debian upstream config for this repository.
3980
- # Update a Debian upstream config for this repository.
4775
+ # Update a Docker upstream config for this repository.
4776
+ # Update a Docker upstream config for this repository.
3981
4777
  # @param owner
3982
4778
  # @param identifier
3983
4779
  # @param slug_perm
3984
4780
  # @param [Hash] opts the optional parameters
3985
- # @option opts [DebUpstreamRequest] :data
3986
- # @return [Array<(DebUpstream, Fixnum, Hash)>] DebUpstream data, response status code and response headers
3987
- def repos_upstream_deb_update_with_http_info(owner, identifier, slug_perm, opts = {})
4781
+ # @option opts [DockerUpstreamRequest] :data
4782
+ # @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
4783
+ def repos_upstream_docker_update_with_http_info(owner, identifier, slug_perm, opts = {})
3988
4784
  if @api_client.config.debugging
3989
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_deb_update ...'
4785
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_update ...'
3990
4786
  end
3991
4787
  # verify the required parameter 'owner' is set
3992
4788
  if @api_client.config.client_side_validation && owner.nil?
3993
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_deb_update"
4789
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_update"
3994
4790
  end
3995
4791
  # verify the required parameter 'identifier' is set
3996
4792
  if @api_client.config.client_side_validation && identifier.nil?
3997
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_deb_update"
4793
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_update"
3998
4794
  end
3999
4795
  # verify the required parameter 'slug_perm' is set
4000
4796
  if @api_client.config.client_side_validation && slug_perm.nil?
4001
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_deb_update"
4797
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_update"
4002
4798
  end
4003
4799
  # resource path
4004
- local_var_path = '/repos/{owner}/{identifier}/upstream/deb/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4800
+ local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4005
4801
 
4006
4802
  # query parameters
4007
4803
  query_params = {}
@@ -4025,45 +4821,45 @@ module CloudsmithApi
4025
4821
  :form_params => form_params,
4026
4822
  :body => post_body,
4027
4823
  :auth_names => auth_names,
4028
- :return_type => 'DebUpstream')
4824
+ :return_type => 'DockerUpstream')
4029
4825
  if @api_client.config.debugging
4030
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_deb_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4826
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4031
4827
  end
4032
4828
  return data, status_code, headers
4033
4829
  end
4034
- # Create a Docker upstream config for this repository.
4035
- # Create a Docker upstream config for this repository.
4830
+ # Create a Generic upstream config for this repository.
4831
+ # Create a Generic upstream config for this repository.
4036
4832
  # @param owner
4037
4833
  # @param identifier
4038
4834
  # @param [Hash] opts the optional parameters
4039
- # @option opts [DockerUpstreamRequest] :data
4040
- # @return [DockerUpstream]
4041
- def repos_upstream_docker_create(owner, identifier, opts = {})
4042
- data, _status_code, _headers = repos_upstream_docker_create_with_http_info(owner, identifier, opts)
4835
+ # @option opts [GenericUpstreamRequest] :data
4836
+ # @return [GenericUpstream]
4837
+ def repos_upstream_generic_create(owner, identifier, opts = {})
4838
+ data, _status_code, _headers = repos_upstream_generic_create_with_http_info(owner, identifier, opts)
4043
4839
  data
4044
4840
  end
4045
4841
 
4046
- # Create a Docker upstream config for this repository.
4047
- # Create a Docker upstream config for this repository.
4842
+ # Create a Generic upstream config for this repository.
4843
+ # Create a Generic upstream config for this repository.
4048
4844
  # @param owner
4049
4845
  # @param identifier
4050
4846
  # @param [Hash] opts the optional parameters
4051
- # @option opts [DockerUpstreamRequest] :data
4052
- # @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
4053
- def repos_upstream_docker_create_with_http_info(owner, identifier, opts = {})
4847
+ # @option opts [GenericUpstreamRequest] :data
4848
+ # @return [Array<(GenericUpstream, Fixnum, Hash)>] GenericUpstream data, response status code and response headers
4849
+ def repos_upstream_generic_create_with_http_info(owner, identifier, opts = {})
4054
4850
  if @api_client.config.debugging
4055
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_create ...'
4851
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_create ...'
4056
4852
  end
4057
4853
  # verify the required parameter 'owner' is set
4058
4854
  if @api_client.config.client_side_validation && owner.nil?
4059
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_create"
4855
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_create"
4060
4856
  end
4061
4857
  # verify the required parameter 'identifier' is set
4062
4858
  if @api_client.config.client_side_validation && identifier.nil?
4063
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_create"
4859
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_create"
4064
4860
  end
4065
4861
  # resource path
4066
- local_var_path = '/repos/{owner}/{identifier}/upstream/docker/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
4862
+ local_var_path = '/repos/{owner}/{identifier}/upstream/generic/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
4067
4863
 
4068
4864
  # query parameters
4069
4865
  query_params = {}
@@ -4087,49 +4883,49 @@ module CloudsmithApi
4087
4883
  :form_params => form_params,
4088
4884
  :body => post_body,
4089
4885
  :auth_names => auth_names,
4090
- :return_type => 'DockerUpstream')
4886
+ :return_type => 'GenericUpstream')
4091
4887
  if @api_client.config.debugging
4092
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4888
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4093
4889
  end
4094
4890
  return data, status_code, headers
4095
4891
  end
4096
- # Delete a Docker upstream config for this repository.
4097
- # Delete a Docker upstream config for this repository.
4892
+ # Delete a Generic upstream config for this repository.
4893
+ # Delete a Generic upstream config for this repository.
4098
4894
  # @param owner
4099
4895
  # @param identifier
4100
4896
  # @param slug_perm
4101
4897
  # @param [Hash] opts the optional parameters
4102
4898
  # @return [nil]
4103
- def repos_upstream_docker_delete(owner, identifier, slug_perm, opts = {})
4104
- repos_upstream_docker_delete_with_http_info(owner, identifier, slug_perm, opts)
4899
+ def repos_upstream_generic_delete(owner, identifier, slug_perm, opts = {})
4900
+ repos_upstream_generic_delete_with_http_info(owner, identifier, slug_perm, opts)
4105
4901
  nil
4106
4902
  end
4107
4903
 
4108
- # Delete a Docker upstream config for this repository.
4109
- # Delete a Docker upstream config for this repository.
4904
+ # Delete a Generic upstream config for this repository.
4905
+ # Delete a Generic upstream config for this repository.
4110
4906
  # @param owner
4111
4907
  # @param identifier
4112
4908
  # @param slug_perm
4113
4909
  # @param [Hash] opts the optional parameters
4114
4910
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
4115
- def repos_upstream_docker_delete_with_http_info(owner, identifier, slug_perm, opts = {})
4911
+ def repos_upstream_generic_delete_with_http_info(owner, identifier, slug_perm, opts = {})
4116
4912
  if @api_client.config.debugging
4117
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_delete ...'
4913
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_delete ...'
4118
4914
  end
4119
4915
  # verify the required parameter 'owner' is set
4120
4916
  if @api_client.config.client_side_validation && owner.nil?
4121
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_delete"
4917
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_delete"
4122
4918
  end
4123
4919
  # verify the required parameter 'identifier' is set
4124
4920
  if @api_client.config.client_side_validation && identifier.nil?
4125
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_delete"
4921
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_delete"
4126
4922
  end
4127
4923
  # verify the required parameter 'slug_perm' is set
4128
4924
  if @api_client.config.client_side_validation && slug_perm.nil?
4129
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_delete"
4925
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_generic_delete"
4130
4926
  end
4131
4927
  # resource path
4132
- local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4928
+ local_var_path = '/repos/{owner}/{identifier}/upstream/generic/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4133
4929
 
4134
4930
  # query parameters
4135
4931
  query_params = {}
@@ -4154,45 +4950,45 @@ module CloudsmithApi
4154
4950
  :body => post_body,
4155
4951
  :auth_names => auth_names)
4156
4952
  if @api_client.config.debugging
4157
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4953
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4158
4954
  end
4159
4955
  return data, status_code, headers
4160
4956
  end
4161
- # List Docker upstream configs for this repository.
4162
- # List Docker upstream configs for this repository.
4957
+ # List Generic upstream configs for this repository.
4958
+ # List Generic upstream configs for this repository.
4163
4959
  # @param owner
4164
4960
  # @param identifier
4165
4961
  # @param [Hash] opts the optional parameters
4166
4962
  # @option opts [Integer] :page A page number within the paginated result set.
4167
4963
  # @option opts [Integer] :page_size Number of results to return per page.
4168
- # @return [Array<DockerUpstream>]
4169
- def repos_upstream_docker_list(owner, identifier, opts = {})
4170
- data, _status_code, _headers = repos_upstream_docker_list_with_http_info(owner, identifier, opts)
4964
+ # @return [Array<GenericUpstream>]
4965
+ def repos_upstream_generic_list(owner, identifier, opts = {})
4966
+ data, _status_code, _headers = repos_upstream_generic_list_with_http_info(owner, identifier, opts)
4171
4967
  data
4172
4968
  end
4173
4969
 
4174
- # List Docker upstream configs for this repository.
4175
- # List Docker upstream configs for this repository.
4970
+ # List Generic upstream configs for this repository.
4971
+ # List Generic upstream configs for this repository.
4176
4972
  # @param owner
4177
4973
  # @param identifier
4178
4974
  # @param [Hash] opts the optional parameters
4179
4975
  # @option opts [Integer] :page A page number within the paginated result set.
4180
4976
  # @option opts [Integer] :page_size Number of results to return per page.
4181
- # @return [Array<(Array<DockerUpstream>, Fixnum, Hash)>] Array<DockerUpstream> data, response status code and response headers
4182
- def repos_upstream_docker_list_with_http_info(owner, identifier, opts = {})
4977
+ # @return [Array<(Array<GenericUpstream>, Fixnum, Hash)>] Array<GenericUpstream> data, response status code and response headers
4978
+ def repos_upstream_generic_list_with_http_info(owner, identifier, opts = {})
4183
4979
  if @api_client.config.debugging
4184
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_list ...'
4980
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_list ...'
4185
4981
  end
4186
4982
  # verify the required parameter 'owner' is set
4187
4983
  if @api_client.config.client_side_validation && owner.nil?
4188
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_list"
4984
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_list"
4189
4985
  end
4190
4986
  # verify the required parameter 'identifier' is set
4191
4987
  if @api_client.config.client_side_validation && identifier.nil?
4192
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_list"
4988
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_list"
4193
4989
  end
4194
4990
  # resource path
4195
- local_var_path = '/repos/{owner}/{identifier}/upstream/docker/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
4991
+ local_var_path = '/repos/{owner}/{identifier}/upstream/generic/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
4196
4992
 
4197
4993
  # query parameters
4198
4994
  query_params = {}
@@ -4218,51 +5014,51 @@ module CloudsmithApi
4218
5014
  :form_params => form_params,
4219
5015
  :body => post_body,
4220
5016
  :auth_names => auth_names,
4221
- :return_type => 'Array<DockerUpstream>')
5017
+ :return_type => 'Array<GenericUpstream>')
4222
5018
  if @api_client.config.debugging
4223
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5019
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4224
5020
  end
4225
5021
  return data, status_code, headers
4226
5022
  end
4227
- # Partially update a Docker upstream config for this repository.
4228
- # Partially update a Docker upstream config for this repository.
5023
+ # Partially update a Generic upstream config for this repository.
5024
+ # Partially update a Generic upstream config for this repository.
4229
5025
  # @param owner
4230
5026
  # @param identifier
4231
5027
  # @param slug_perm
4232
5028
  # @param [Hash] opts the optional parameters
4233
- # @option opts [DockerUpstreamRequestPatch] :data
4234
- # @return [DockerUpstream]
4235
- def repos_upstream_docker_partial_update(owner, identifier, slug_perm, opts = {})
4236
- data, _status_code, _headers = repos_upstream_docker_partial_update_with_http_info(owner, identifier, slug_perm, opts)
5029
+ # @option opts [GenericUpstreamRequestPatch] :data
5030
+ # @return [GenericUpstream]
5031
+ def repos_upstream_generic_partial_update(owner, identifier, slug_perm, opts = {})
5032
+ data, _status_code, _headers = repos_upstream_generic_partial_update_with_http_info(owner, identifier, slug_perm, opts)
4237
5033
  data
4238
5034
  end
4239
5035
 
4240
- # Partially update a Docker upstream config for this repository.
4241
- # Partially update a Docker upstream config for this repository.
5036
+ # Partially update a Generic upstream config for this repository.
5037
+ # Partially update a Generic upstream config for this repository.
4242
5038
  # @param owner
4243
5039
  # @param identifier
4244
5040
  # @param slug_perm
4245
5041
  # @param [Hash] opts the optional parameters
4246
- # @option opts [DockerUpstreamRequestPatch] :data
4247
- # @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
4248
- def repos_upstream_docker_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
5042
+ # @option opts [GenericUpstreamRequestPatch] :data
5043
+ # @return [Array<(GenericUpstream, Fixnum, Hash)>] GenericUpstream data, response status code and response headers
5044
+ def repos_upstream_generic_partial_update_with_http_info(owner, identifier, slug_perm, opts = {})
4249
5045
  if @api_client.config.debugging
4250
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_partial_update ...'
5046
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_partial_update ...'
4251
5047
  end
4252
5048
  # verify the required parameter 'owner' is set
4253
5049
  if @api_client.config.client_side_validation && owner.nil?
4254
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_partial_update"
5050
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_partial_update"
4255
5051
  end
4256
5052
  # verify the required parameter 'identifier' is set
4257
5053
  if @api_client.config.client_side_validation && identifier.nil?
4258
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_partial_update"
5054
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_partial_update"
4259
5055
  end
4260
5056
  # verify the required parameter 'slug_perm' is set
4261
5057
  if @api_client.config.client_side_validation && slug_perm.nil?
4262
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_partial_update"
5058
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_generic_partial_update"
4263
5059
  end
4264
5060
  # resource path
4265
- local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
5061
+ local_var_path = '/repos/{owner}/{identifier}/upstream/generic/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4266
5062
 
4267
5063
  # query parameters
4268
5064
  query_params = {}
@@ -4286,49 +5082,49 @@ module CloudsmithApi
4286
5082
  :form_params => form_params,
4287
5083
  :body => post_body,
4288
5084
  :auth_names => auth_names,
4289
- :return_type => 'DockerUpstream')
5085
+ :return_type => 'GenericUpstream')
4290
5086
  if @api_client.config.debugging
4291
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5087
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4292
5088
  end
4293
5089
  return data, status_code, headers
4294
5090
  end
4295
- # Retrieve a Docker upstream config for this repository.
4296
- # Retrieve a Docker upstream config for this repository.
5091
+ # Retrieve a Generic upstream config for this repository.
5092
+ # Retrieve a Generic upstream config for this repository.
4297
5093
  # @param owner
4298
5094
  # @param identifier
4299
5095
  # @param slug_perm
4300
5096
  # @param [Hash] opts the optional parameters
4301
- # @return [DockerUpstream]
4302
- def repos_upstream_docker_read(owner, identifier, slug_perm, opts = {})
4303
- data, _status_code, _headers = repos_upstream_docker_read_with_http_info(owner, identifier, slug_perm, opts)
5097
+ # @return [GenericUpstream]
5098
+ def repos_upstream_generic_read(owner, identifier, slug_perm, opts = {})
5099
+ data, _status_code, _headers = repos_upstream_generic_read_with_http_info(owner, identifier, slug_perm, opts)
4304
5100
  data
4305
5101
  end
4306
5102
 
4307
- # Retrieve a Docker upstream config for this repository.
4308
- # Retrieve a Docker upstream config for this repository.
5103
+ # Retrieve a Generic upstream config for this repository.
5104
+ # Retrieve a Generic upstream config for this repository.
4309
5105
  # @param owner
4310
5106
  # @param identifier
4311
5107
  # @param slug_perm
4312
5108
  # @param [Hash] opts the optional parameters
4313
- # @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
4314
- def repos_upstream_docker_read_with_http_info(owner, identifier, slug_perm, opts = {})
5109
+ # @return [Array<(GenericUpstream, Fixnum, Hash)>] GenericUpstream data, response status code and response headers
5110
+ def repos_upstream_generic_read_with_http_info(owner, identifier, slug_perm, opts = {})
4315
5111
  if @api_client.config.debugging
4316
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_read ...'
5112
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_read ...'
4317
5113
  end
4318
5114
  # verify the required parameter 'owner' is set
4319
5115
  if @api_client.config.client_side_validation && owner.nil?
4320
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_read"
5116
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_read"
4321
5117
  end
4322
5118
  # verify the required parameter 'identifier' is set
4323
5119
  if @api_client.config.client_side_validation && identifier.nil?
4324
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_read"
5120
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_read"
4325
5121
  end
4326
5122
  # verify the required parameter 'slug_perm' is set
4327
5123
  if @api_client.config.client_side_validation && slug_perm.nil?
4328
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_read"
5124
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_generic_read"
4329
5125
  end
4330
5126
  # resource path
4331
- local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
5127
+ local_var_path = '/repos/{owner}/{identifier}/upstream/generic/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4332
5128
 
4333
5129
  # query parameters
4334
5130
  query_params = {}
@@ -4352,51 +5148,51 @@ module CloudsmithApi
4352
5148
  :form_params => form_params,
4353
5149
  :body => post_body,
4354
5150
  :auth_names => auth_names,
4355
- :return_type => 'DockerUpstream')
5151
+ :return_type => 'GenericUpstream')
4356
5152
  if @api_client.config.debugging
4357
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5153
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4358
5154
  end
4359
5155
  return data, status_code, headers
4360
5156
  end
4361
- # Update a Docker upstream config for this repository.
4362
- # Update a Docker upstream config for this repository.
5157
+ # Update a Generic upstream config for this repository.
5158
+ # Update a Generic upstream config for this repository.
4363
5159
  # @param owner
4364
5160
  # @param identifier
4365
5161
  # @param slug_perm
4366
5162
  # @param [Hash] opts the optional parameters
4367
- # @option opts [DockerUpstreamRequest] :data
4368
- # @return [DockerUpstream]
4369
- def repos_upstream_docker_update(owner, identifier, slug_perm, opts = {})
4370
- data, _status_code, _headers = repos_upstream_docker_update_with_http_info(owner, identifier, slug_perm, opts)
5163
+ # @option opts [GenericUpstreamRequest] :data
5164
+ # @return [GenericUpstream]
5165
+ def repos_upstream_generic_update(owner, identifier, slug_perm, opts = {})
5166
+ data, _status_code, _headers = repos_upstream_generic_update_with_http_info(owner, identifier, slug_perm, opts)
4371
5167
  data
4372
5168
  end
4373
5169
 
4374
- # Update a Docker upstream config for this repository.
4375
- # Update a Docker upstream config for this repository.
5170
+ # Update a Generic upstream config for this repository.
5171
+ # Update a Generic upstream config for this repository.
4376
5172
  # @param owner
4377
5173
  # @param identifier
4378
5174
  # @param slug_perm
4379
5175
  # @param [Hash] opts the optional parameters
4380
- # @option opts [DockerUpstreamRequest] :data
4381
- # @return [Array<(DockerUpstream, Fixnum, Hash)>] DockerUpstream data, response status code and response headers
4382
- def repos_upstream_docker_update_with_http_info(owner, identifier, slug_perm, opts = {})
5176
+ # @option opts [GenericUpstreamRequest] :data
5177
+ # @return [Array<(GenericUpstream, Fixnum, Hash)>] GenericUpstream data, response status code and response headers
5178
+ def repos_upstream_generic_update_with_http_info(owner, identifier, slug_perm, opts = {})
4383
5179
  if @api_client.config.debugging
4384
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_docker_update ...'
5180
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_upstream_generic_update ...'
4385
5181
  end
4386
5182
  # verify the required parameter 'owner' is set
4387
5183
  if @api_client.config.client_side_validation && owner.nil?
4388
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_docker_update"
5184
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_upstream_generic_update"
4389
5185
  end
4390
5186
  # verify the required parameter 'identifier' is set
4391
5187
  if @api_client.config.client_side_validation && identifier.nil?
4392
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_docker_update"
5188
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_upstream_generic_update"
4393
5189
  end
4394
5190
  # verify the required parameter 'slug_perm' is set
4395
5191
  if @api_client.config.client_side_validation && slug_perm.nil?
4396
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_docker_update"
5192
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling ReposApi.repos_upstream_generic_update"
4397
5193
  end
4398
5194
  # resource path
4399
- local_var_path = '/repos/{owner}/{identifier}/upstream/docker/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
5195
+ local_var_path = '/repos/{owner}/{identifier}/upstream/generic/{slug_perm}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
4400
5196
 
4401
5197
  # query parameters
4402
5198
  query_params = {}
@@ -4420,9 +5216,9 @@ module CloudsmithApi
4420
5216
  :form_params => form_params,
4421
5217
  :body => post_body,
4422
5218
  :auth_names => auth_names,
4423
- :return_type => 'DockerUpstream')
5219
+ :return_type => 'GenericUpstream')
4424
5220
  if @api_client.config.debugging
4425
- @api_client.config.logger.debug "API called: ReposApi#repos_upstream_docker_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5221
+ @api_client.config.logger.debug "API called: ReposApi#repos_upstream_generic_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4426
5222
  end
4427
5223
  return data, status_code, headers
4428
5224
  end