cloudsmith-api 0.51.34 → 0.52.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (395) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +14 -5
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +63 -0
  6. data/docs/ConanPackageUpload.md +1 -0
  7. data/docs/EntitlementsCreate.md +1 -1
  8. data/docs/EntitlementsPartialUpdate.md +1 -1
  9. data/docs/EntitlementsRefresh.md +1 -1
  10. data/docs/MavenPackageUpload.md +1 -0
  11. data/docs/Package.md +2 -0
  12. data/docs/PackageCopy.md +2 -0
  13. data/docs/PackageMove.md +2 -0
  14. data/docs/PackagesApi.md +238 -39
  15. data/docs/PackagesCopy.md +1 -1
  16. data/docs/PackagesMove.md +0 -1
  17. data/docs/PackagesTag.md +10 -0
  18. data/docs/PackagesUploadAlpine.md +1 -0
  19. data/docs/PackagesUploadCargo.md +1 -0
  20. data/docs/PackagesUploadCocoapods.md +1 -0
  21. data/docs/PackagesUploadComposer.md +1 -0
  22. data/docs/PackagesUploadConan.md +3 -0
  23. data/docs/PackagesUploadCran.md +1 -0
  24. data/docs/PackagesUploadDart.md +1 -0
  25. data/docs/PackagesUploadDeb.md +3 -0
  26. data/docs/PackagesUploadDocker.md +1 -0
  27. data/docs/PackagesUploadGo.md +1 -0
  28. data/docs/PackagesUploadHelm.md +1 -0
  29. data/docs/PackagesUploadLuarocks.md +1 -0
  30. data/docs/PackagesUploadMaven.md +1 -0
  31. data/docs/PackagesUploadNpm.md +1 -0
  32. data/docs/PackagesUploadNuget.md +1 -0
  33. data/docs/PackagesUploadPython.md +1 -0
  34. data/docs/PackagesUploadRaw.md +1 -0
  35. data/docs/PackagesUploadRpm.md +1 -0
  36. data/docs/PackagesUploadRuby.md +1 -0
  37. data/docs/{PackagesResync.md → PackagesUploadTerraform.md} +3 -1
  38. data/docs/PackagesUploadVagrant.md +1 -0
  39. data/docs/PackagesValidateuploadAlpine.md +1 -0
  40. data/docs/PackagesValidateuploadCargo.md +1 -0
  41. data/docs/PackagesValidateuploadCocoapods.md +1 -0
  42. data/docs/PackagesValidateuploadComposer.md +1 -0
  43. data/docs/PackagesValidateuploadConan.md +3 -0
  44. data/docs/PackagesValidateuploadCran.md +1 -0
  45. data/docs/PackagesValidateuploadDart.md +1 -0
  46. data/docs/PackagesValidateuploadDeb.md +3 -0
  47. data/docs/PackagesValidateuploadDocker.md +1 -0
  48. data/docs/PackagesValidateuploadGo.md +1 -0
  49. data/docs/PackagesValidateuploadHelm.md +1 -0
  50. data/docs/PackagesValidateuploadLuarocks.md +1 -0
  51. data/docs/PackagesValidateuploadMaven.md +1 -0
  52. data/docs/PackagesValidateuploadNpm.md +1 -0
  53. data/docs/PackagesValidateuploadNuget.md +1 -0
  54. data/docs/PackagesValidateuploadPython.md +1 -0
  55. data/docs/PackagesValidateuploadRaw.md +1 -0
  56. data/docs/PackagesValidateuploadRpm.md +1 -0
  57. data/docs/PackagesValidateuploadRuby.md +1 -0
  58. data/docs/PackagesValidateuploadTerraform.md +10 -0
  59. data/docs/PackagesValidateuploadVagrant.md +1 -0
  60. data/docs/RawPackageUpload.md +1 -0
  61. data/docs/ReposCreate.md +4 -7
  62. data/docs/ReposPartialUpdate.md +3 -7
  63. data/docs/Repository.md +11 -10
  64. data/docs/RepositoryToken.md +3 -3
  65. data/docs/RepositoryTokenRefresh.md +3 -3
  66. data/docs/RepositoryTokenSyncTokens.md +3 -3
  67. data/docs/RepositoryWebhook.md +1 -0
  68. data/docs/StorageRegion.md +9 -0
  69. data/docs/StorageregionsApi.md +122 -0
  70. data/docs/VagrantPackageUpload.md +1 -0
  71. data/docs/WebhooksCreate.md +1 -0
  72. data/docs/WebhooksPartialUpdate.md +1 -0
  73. data/lib/cloudsmith-api.rb +6 -1
  74. data/lib/cloudsmith-api/api/packages_api.rb +237 -53
  75. data/lib/cloudsmith-api/api/storageregions_api.rb +119 -0
  76. data/lib/cloudsmith-api/models/alpine_package_upload.rb +743 -0
  77. data/lib/cloudsmith-api/models/conan_package_upload.rb +11 -1
  78. data/lib/cloudsmith-api/models/entitlements_create.rb +1 -1
  79. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +1 -1
  80. data/lib/cloudsmith-api/models/entitlements_refresh.rb +1 -1
  81. data/lib/cloudsmith-api/models/maven_package_upload.rb +11 -1
  82. data/lib/cloudsmith-api/models/package.rb +21 -1
  83. data/lib/cloudsmith-api/models/package_copy.rb +21 -1
  84. data/lib/cloudsmith-api/models/package_move.rb +21 -1
  85. data/lib/cloudsmith-api/models/packages_copy.rb +1 -1
  86. data/lib/cloudsmith-api/models/packages_move.rb +4 -14
  87. data/lib/cloudsmith-api/models/packages_tag.rb +211 -0
  88. data/lib/cloudsmith-api/models/packages_upload_alpine.rb +14 -4
  89. data/lib/cloudsmith-api/models/packages_upload_cargo.rb +14 -4
  90. data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +14 -4
  91. data/lib/cloudsmith-api/models/packages_upload_composer.rb +14 -4
  92. data/lib/cloudsmith-api/models/packages_upload_conan.rb +34 -4
  93. data/lib/cloudsmith-api/models/packages_upload_cran.rb +14 -4
  94. data/lib/cloudsmith-api/models/packages_upload_dart.rb +14 -4
  95. data/lib/cloudsmith-api/models/packages_upload_deb.rb +34 -4
  96. data/lib/cloudsmith-api/models/packages_upload_docker.rb +14 -4
  97. data/lib/cloudsmith-api/models/packages_upload_go.rb +14 -4
  98. data/lib/cloudsmith-api/models/packages_upload_helm.rb +14 -4
  99. data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +14 -4
  100. data/lib/cloudsmith-api/models/packages_upload_maven.rb +11 -1
  101. data/lib/cloudsmith-api/models/packages_upload_npm.rb +14 -4
  102. data/lib/cloudsmith-api/models/packages_upload_nuget.rb +14 -4
  103. data/lib/cloudsmith-api/models/packages_upload_python.rb +14 -4
  104. data/lib/cloudsmith-api/models/packages_upload_raw.rb +11 -1
  105. data/lib/cloudsmith-api/models/packages_upload_rpm.rb +14 -4
  106. data/lib/cloudsmith-api/models/packages_upload_ruby.rb +14 -4
  107. data/lib/cloudsmith-api/models/packages_upload_terraform.rb +214 -0
  108. data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +11 -1
  109. data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +14 -4
  110. data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +14 -4
  111. data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +14 -4
  112. data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +14 -4
  113. data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +34 -4
  114. data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +14 -4
  115. data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +14 -4
  116. data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +34 -4
  117. data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +14 -4
  118. data/lib/cloudsmith-api/models/packages_validateupload_go.rb +14 -4
  119. data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +14 -4
  120. data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +14 -4
  121. data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +11 -1
  122. data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +14 -4
  123. data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +14 -4
  124. data/lib/cloudsmith-api/models/packages_validateupload_python.rb +14 -4
  125. data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +11 -1
  126. data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +14 -4
  127. data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +14 -4
  128. data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +214 -0
  129. data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +11 -1
  130. data/lib/cloudsmith-api/models/raw_package_upload.rb +11 -1
  131. data/lib/cloudsmith-api/models/repos_create.rb +17 -57
  132. data/lib/cloudsmith-api/models/repos_partial_update.rb +4 -44
  133. data/lib/cloudsmith-api/models/repository.rb +24 -24
  134. data/lib/cloudsmith-api/models/repository_token.rb +3 -3
  135. data/lib/cloudsmith-api/models/repository_token_refresh.rb +3 -3
  136. data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +3 -3
  137. data/lib/cloudsmith-api/models/repository_webhook.rb +11 -1
  138. data/lib/cloudsmith-api/models/{packages_resync.rb → storage_region.rb} +29 -9
  139. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -1
  140. data/lib/cloudsmith-api/models/webhooks_create.rb +11 -1
  141. data/lib/cloudsmith-api/models/webhooks_partial_update.rb +11 -1
  142. data/lib/cloudsmith-api/version.rb +1 -1
  143. data/spec/api/packages_api_spec.rb +59 -17
  144. data/spec/api/storageregions_api_spec.rb +58 -0
  145. data/spec/models/alpine_package_upload_spec.rb +372 -0
  146. data/spec/models/conan_package_upload_spec.rb +6 -0
  147. data/spec/models/maven_package_upload_spec.rb +6 -0
  148. data/spec/models/package_copy_spec.rb +12 -0
  149. data/spec/models/package_move_spec.rb +12 -0
  150. data/spec/models/package_spec.rb +12 -0
  151. data/spec/models/packages_move_spec.rb +0 -6
  152. data/spec/models/packages_tag_spec.rb +54 -0
  153. data/spec/models/packages_upload_alpine_spec.rb +6 -0
  154. data/spec/models/packages_upload_cargo_spec.rb +6 -0
  155. data/spec/models/packages_upload_cocoapods_spec.rb +6 -0
  156. data/spec/models/packages_upload_composer_spec.rb +6 -0
  157. data/spec/models/packages_upload_conan_spec.rb +18 -0
  158. data/spec/models/packages_upload_cran_spec.rb +6 -0
  159. data/spec/models/packages_upload_dart_spec.rb +6 -0
  160. data/spec/models/packages_upload_deb_spec.rb +18 -0
  161. data/spec/models/packages_upload_docker_spec.rb +6 -0
  162. data/spec/models/packages_upload_go_spec.rb +6 -0
  163. data/spec/models/packages_upload_helm_spec.rb +6 -0
  164. data/spec/models/packages_upload_luarocks_spec.rb +6 -0
  165. data/spec/models/packages_upload_maven_spec.rb +6 -0
  166. data/spec/models/packages_upload_npm_spec.rb +6 -0
  167. data/spec/models/packages_upload_nuget_spec.rb +6 -0
  168. data/spec/models/packages_upload_python_spec.rb +6 -0
  169. data/spec/models/packages_upload_raw_spec.rb +6 -0
  170. data/spec/models/packages_upload_rpm_spec.rb +6 -0
  171. data/spec/models/packages_upload_ruby_spec.rb +6 -0
  172. data/spec/models/packages_upload_terraform_spec.rb +54 -0
  173. data/spec/models/packages_upload_vagrant_spec.rb +6 -0
  174. data/spec/models/packages_validateupload_alpine_spec.rb +6 -0
  175. data/spec/models/packages_validateupload_cargo_spec.rb +6 -0
  176. data/spec/models/packages_validateupload_cocoapods_spec.rb +6 -0
  177. data/spec/models/packages_validateupload_composer_spec.rb +6 -0
  178. data/spec/models/packages_validateupload_conan_spec.rb +18 -0
  179. data/spec/models/packages_validateupload_cran_spec.rb +6 -0
  180. data/spec/models/packages_validateupload_dart_spec.rb +6 -0
  181. data/spec/models/packages_validateupload_deb_spec.rb +18 -0
  182. data/spec/models/packages_validateupload_docker_spec.rb +6 -0
  183. data/spec/models/packages_validateupload_go_spec.rb +6 -0
  184. data/spec/models/packages_validateupload_helm_spec.rb +6 -0
  185. data/spec/models/packages_validateupload_luarocks_spec.rb +6 -0
  186. data/spec/models/packages_validateupload_maven_spec.rb +6 -0
  187. data/spec/models/packages_validateupload_npm_spec.rb +6 -0
  188. data/spec/models/packages_validateupload_nuget_spec.rb +6 -0
  189. data/spec/models/packages_validateupload_python_spec.rb +6 -0
  190. data/spec/models/packages_validateupload_raw_spec.rb +6 -0
  191. data/spec/models/packages_validateupload_rpm_spec.rb +6 -0
  192. data/spec/models/packages_validateupload_ruby_spec.rb +6 -0
  193. data/spec/models/packages_validateupload_terraform_spec.rb +54 -0
  194. data/spec/models/packages_validateupload_vagrant_spec.rb +6 -0
  195. data/spec/models/raw_package_upload_spec.rb +6 -0
  196. data/spec/models/repos_create_spec.rb +3 -21
  197. data/spec/models/repos_partial_update_spec.rb +0 -24
  198. data/spec/models/repository_spec.rb +6 -0
  199. data/spec/models/repository_webhook_spec.rb +6 -0
  200. data/spec/models/{packages_resync_spec.rb → storage_region_spec.rb} +13 -7
  201. data/spec/models/vagrant_package_upload_spec.rb +6 -0
  202. data/spec/models/webhooks_create_spec.rb +6 -0
  203. data/spec/models/webhooks_partial_update_spec.rb +6 -0
  204. data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.4.4.gem +0 -0
  205. data/vendor/bundle/ruby/2.6.0/cache/json-2.3.1.gem +0 -0
  206. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
  207. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
  208. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem.build_complete +0 -0
  209. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem_make.out +5 -5
  210. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/generator.so +0 -0
  211. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/parser.so +0 -0
  212. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/mkmf.log +0 -0
  213. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/.rspec +0 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Code-of-Conduct.md +0 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
  216. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/History.md +319 -0
  217. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/License.md +0 -0
  218. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Manifest.txt +8 -0
  219. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/README.rdoc +10 -10
  220. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Rakefile +39 -22
  221. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
  222. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/htmldiff +7 -4
  223. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/ldiff +4 -1
  224. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/COPYING.txt +0 -0
  225. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/artistic.txt +0 -0
  226. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
  227. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs.rb +184 -170
  228. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/array.rb +1 -1
  229. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
  230. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/block.rb +1 -1
  231. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/callbacks.rb +15 -12
  232. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/change.rb +30 -37
  233. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/htmldiff.rb +17 -16
  234. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/hunk.rb +156 -74
  235. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/internals.rb +36 -39
  236. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/ldiff.rb +46 -42
  237. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/string.rb +1 -1
  238. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/change_spec.rb +31 -7
  239. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3/spec/ldiff_spec.rb → diff-lcs-1.4.4/spec/diff_spec.rb} +15 -11
  240. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
  242. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds1.csv +0 -0
  243. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds2.csv +0 -0
  244. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
  245. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
  246. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
  247. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
  248. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
  249. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
  250. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
  251. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/lcs_spec.rb +10 -10
  252. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
  253. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/patch_spec.rb +93 -99
  254. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
  255. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/spec_helper.rb +118 -64
  256. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
  257. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/traverse_sequences_spec.rb +28 -28
  258. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
  259. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.gitignore +0 -0
  260. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.travis.yml +2 -0
  261. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/CHANGES.md +33 -0
  262. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Gemfile +0 -0
  263. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README-json-jruby.md +0 -0
  264. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README.md +16 -0
  265. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Rakefile +8 -87
  266. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/VERSION +1 -0
  267. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/diagrams/.keep +0 -0
  268. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/fbuffer/fbuffer.h +0 -0
  269. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  270. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/depend +0 -0
  271. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/extconf.rb +0 -0
  272. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.c +71 -1
  273. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.h +0 -0
  274. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/generator/generator.so +0 -0
  275. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  276. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/depend +0 -0
  277. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/extconf.rb +0 -0
  278. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.c +71 -70
  279. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.h +0 -0
  280. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.rl +1 -0
  281. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/parser/parser.so +0 -0
  282. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/extconf.rb +0 -0
  283. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/install.rb +0 -0
  284. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ByteListTranscoder.java +0 -0
  285. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Generator.java +0 -0
  286. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorMethods.java +0 -0
  287. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorService.java +0 -0
  288. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorState.java +0 -0
  289. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/OptionsReader.java +0 -0
  290. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.java +0 -0
  291. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.rl +0 -0
  292. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ParserService.java +0 -0
  293. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/RuntimeInfo.java +0 -0
  294. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringDecoder.java +0 -0
  295. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringEncoder.java +0 -0
  296. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Utils.java +0 -0
  297. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json-java.gemspec +3 -3
  298. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/json.gemspec +139 -0
  299. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json_pure.gemspec +8 -13
  300. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json.rb +412 -0
  301. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/bigdecimal.rb +0 -0
  302. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/complex.rb +0 -0
  303. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/core.rb +0 -0
  304. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date.rb +0 -0
  305. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date_time.rb +0 -0
  306. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/exception.rb +0 -0
  307. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/ostruct.rb +0 -0
  308. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/range.rb +0 -0
  309. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/rational.rb +0 -0
  310. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/regexp.rb +0 -0
  311. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/set.rb +0 -0
  312. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/struct.rb +0 -0
  313. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/symbol.rb +0 -0
  314. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/time.rb +0 -0
  315. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/common.rb +691 -0
  316. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext.rb +0 -0
  317. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext/.keep +0 -0
  318. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/generator.so +0 -0
  319. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/parser.so +0 -0
  320. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/generic_object.rb +0 -0
  321. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure.rb +0 -0
  322. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/generator.rb +1 -1
  323. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/parser.rb +2 -2
  324. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/version.rb +1 -1
  325. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/references/rfc7159.txt +0 -0
  326. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail10.json +0 -0
  327. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail11.json +0 -0
  328. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail12.json +0 -0
  329. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail13.json +0 -0
  330. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail14.json +0 -0
  331. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail18.json +0 -0
  332. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail19.json +0 -0
  333. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail2.json +0 -0
  334. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail20.json +0 -0
  335. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail21.json +0 -0
  336. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail22.json +0 -0
  337. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail23.json +0 -0
  338. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail24.json +0 -0
  339. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail25.json +0 -0
  340. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail27.json +0 -0
  341. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail28.json +0 -0
  342. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail3.json +0 -0
  343. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail4.json +0 -0
  344. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail5.json +0 -0
  345. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail6.json +0 -0
  346. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail7.json +0 -0
  347. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail8.json +0 -0
  348. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail9.json +0 -0
  349. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/obsolete_fail1.json +0 -0
  350. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass1.json +0 -0
  351. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass15.json +0 -0
  352. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass16.json +0 -0
  353. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass17.json +0 -0
  354. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass2.json +0 -0
  355. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass26.json +0 -0
  356. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass3.json +0 -0
  357. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_addition_test.rb +0 -0
  358. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_common_interface_test.rb +0 -0
  359. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_encoding_test.rb +0 -0
  360. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_ext_parser_test.rb +0 -0
  361. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_fixtures_test.rb +6 -1
  362. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generator_test.rb +0 -0
  363. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generic_object_test.rb +0 -0
  364. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_parser_test.rb +0 -0
  365. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_string_matching_test.rb +0 -0
  366. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/test_helper.rb +0 -0
  367. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/diff.sh +0 -0
  368. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/fuzz.rb +0 -0
  369. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/server.rb +0 -0
  370. data/vendor/bundle/ruby/2.6.0/specifications/{diff-lcs-1.3.gemspec → diff-lcs-1.4.4.gemspec} +11 -13
  371. data/vendor/bundle/ruby/2.6.0/specifications/{json-2.3.0.gemspec → json-2.3.1.gemspec} +0 -0
  372. data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
  373. metadata +276 -249
  374. data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.3.gem +0 -0
  375. data/vendor/bundle/ruby/2.6.0/cache/json-2.3.0.gem +0 -0
  376. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/generator.so +0 -0
  377. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/parser.so +0 -0
  378. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/Contributing.md +0 -83
  379. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/History.md +0 -220
  380. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
  381. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
  382. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
  383. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
  384. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
  385. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
  386. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
  387. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/LICENSE +0 -56
  388. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/VERSION +0 -1
  389. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/generator/generator.so +0 -0
  390. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/parser/parser.so +0 -0
  391. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/json.gemspec +0 -0
  392. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json.rb +0 -63
  393. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb +0 -456
  394. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/generator.so +0 -0
  395. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/parser.so +0 -0
@@ -0,0 +1,119 @@
1
+ =begin
2
+ #Cloudsmith API
3
+
4
+ #The API to the Cloudsmith Service
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudsmith.io
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require "uri"
14
+
15
+ module CloudsmithApi
16
+ class StorageregionsApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+
23
+ # Get a list of all available storage regions.
24
+ # Get a list of all available storage regions.
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [Array<StorageRegion>]
27
+ def storage_regions_list(opts = {})
28
+ data, _status_code, _headers = storage_regions_list_with_http_info(opts)
29
+ return data
30
+ end
31
+
32
+ # Get a list of all available storage regions.
33
+ # Get a list of all available storage regions.
34
+ # @param [Hash] opts the optional parameters
35
+ # @return [Array<(Array<StorageRegion>, Fixnum, Hash)>] Array<StorageRegion> data, response status code and response headers
36
+ def storage_regions_list_with_http_info(opts = {})
37
+ if @api_client.config.debugging
38
+ @api_client.config.logger.debug "Calling API: StorageregionsApi.storage_regions_list ..."
39
+ end
40
+ # resource path
41
+ local_var_path = "/storage-regions/"
42
+
43
+ # query parameters
44
+ query_params = {}
45
+
46
+ # header parameters
47
+ header_params = {}
48
+
49
+ # form parameters
50
+ form_params = {}
51
+
52
+ # http body (model)
53
+ post_body = nil
54
+ auth_names = ['apikey', 'csrf_token']
55
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
56
+ :header_params => header_params,
57
+ :query_params => query_params,
58
+ :form_params => form_params,
59
+ :body => post_body,
60
+ :auth_names => auth_names,
61
+ :return_type => 'Array<StorageRegion>')
62
+ if @api_client.config.debugging
63
+ @api_client.config.logger.debug "API called: StorageregionsApi#storage_regions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
64
+ end
65
+ return data, status_code, headers
66
+ end
67
+
68
+ # Get a specific storage region.
69
+ # Get a specific storage region.
70
+ # @param slug
71
+ # @param [Hash] opts the optional parameters
72
+ # @return [StorageRegion]
73
+ def storage_regions_read(slug, opts = {})
74
+ data, _status_code, _headers = storage_regions_read_with_http_info(slug, opts)
75
+ return data
76
+ end
77
+
78
+ # Get a specific storage region.
79
+ # Get a specific storage region.
80
+ # @param slug
81
+ # @param [Hash] opts the optional parameters
82
+ # @return [Array<(StorageRegion, Fixnum, Hash)>] StorageRegion data, response status code and response headers
83
+ def storage_regions_read_with_http_info(slug, opts = {})
84
+ if @api_client.config.debugging
85
+ @api_client.config.logger.debug "Calling API: StorageregionsApi.storage_regions_read ..."
86
+ end
87
+ # verify the required parameter 'slug' is set
88
+ if @api_client.config.client_side_validation && slug.nil?
89
+ fail ArgumentError, "Missing the required parameter 'slug' when calling StorageregionsApi.storage_regions_read"
90
+ end
91
+ # resource path
92
+ local_var_path = "/storage-regions/{slug}/".sub('{' + 'slug' + '}', slug.to_s)
93
+
94
+ # query parameters
95
+ query_params = {}
96
+
97
+ # header parameters
98
+ header_params = {}
99
+
100
+ # form parameters
101
+ form_params = {}
102
+
103
+ # http body (model)
104
+ post_body = nil
105
+ auth_names = ['apikey', 'csrf_token']
106
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
107
+ :header_params => header_params,
108
+ :query_params => query_params,
109
+ :form_params => form_params,
110
+ :body => post_body,
111
+ :auth_names => auth_names,
112
+ :return_type => 'StorageRegion')
113
+ if @api_client.config.debugging
114
+ @api_client.config.logger.debug "API called: StorageregionsApi#storage_regions_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
115
+ end
116
+ return data, status_code, headers
117
+ end
118
+ end
119
+ end
@@ -0,0 +1,743 @@
1
+ =begin
2
+ #Cloudsmith API
3
+
4
+ #The API to the Cloudsmith Service
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudsmith.io
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudsmithApi
16
+
17
+ class AlpinePackageUpload
18
+ #
19
+ attr_accessor :architectures
20
+
21
+ #
22
+ attr_accessor :cdn_url
23
+
24
+ #
25
+ attr_accessor :checksum_md5
26
+
27
+ #
28
+ attr_accessor :checksum_sha1
29
+
30
+ #
31
+ attr_accessor :checksum_sha256
32
+
33
+ #
34
+ attr_accessor :checksum_sha512
35
+
36
+ # A textual description of this package.
37
+ attr_accessor :description
38
+
39
+ #
40
+ attr_accessor :distro
41
+
42
+ #
43
+ attr_accessor :distro_version
44
+
45
+ #
46
+ attr_accessor :downloads
47
+
48
+ # The epoch of the package version (if any).
49
+ attr_accessor :epoch
50
+
51
+ #
52
+ attr_accessor :extension
53
+
54
+ #
55
+ attr_accessor :filename
56
+
57
+ #
58
+ attr_accessor :files
59
+
60
+ #
61
+ attr_accessor :format
62
+
63
+ #
64
+ attr_accessor :format_url
65
+
66
+ # Unique and permanent identifier for the package.
67
+ attr_accessor :identifier_perm
68
+
69
+ #
70
+ attr_accessor :indexed
71
+
72
+ #
73
+ attr_accessor :is_sync_awaiting
74
+
75
+ #
76
+ attr_accessor :is_sync_completed
77
+
78
+ #
79
+ attr_accessor :is_sync_failed
80
+
81
+ #
82
+ attr_accessor :is_sync_in_flight
83
+
84
+ #
85
+ attr_accessor :is_sync_in_progress
86
+
87
+ # The license of this package.
88
+ attr_accessor :license
89
+
90
+ # The name of this package.
91
+ attr_accessor :name
92
+
93
+ #
94
+ attr_accessor :namespace
95
+
96
+ #
97
+ attr_accessor :namespace_url
98
+
99
+ #
100
+ attr_accessor :num_files
101
+
102
+ # The type of package contents.
103
+ attr_accessor :package_type
104
+
105
+ # The release of the package version (if any).
106
+ attr_accessor :release
107
+
108
+ #
109
+ attr_accessor :repository
110
+
111
+ #
112
+ attr_accessor :repository_url
113
+
114
+ #
115
+ attr_accessor :self_html_url
116
+
117
+ #
118
+ attr_accessor :self_url
119
+
120
+ # The calculated size of the package.
121
+ attr_accessor :size
122
+
123
+ #
124
+ attr_accessor :slug
125
+
126
+ #
127
+ attr_accessor :slug_perm
128
+
129
+ # The synchronisation (in progress) stage of the package.
130
+ attr_accessor :stage
131
+
132
+ #
133
+ attr_accessor :stage_str
134
+
135
+ # The datetime the package stage was updated at.
136
+ attr_accessor :stage_updated_at
137
+
138
+ # The synchronisation status of the package.
139
+ attr_accessor :status
140
+
141
+ # A textual description for the synchronous status reason (if any
142
+ attr_accessor :status_reason
143
+
144
+ #
145
+ attr_accessor :status_str
146
+
147
+ # The datetime the package status was updated at.
148
+ attr_accessor :status_updated_at
149
+
150
+ #
151
+ attr_accessor :status_url
152
+
153
+ #
154
+ attr_accessor :subtype
155
+
156
+ # A one-liner synopsis of this package.
157
+ attr_accessor :summary
158
+
159
+ # The datetime the package sync was finished at.
160
+ attr_accessor :sync_finished_at
161
+
162
+ # Synchronisation progress (from 0-100)
163
+ attr_accessor :sync_progress
164
+
165
+ # All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted.
166
+ attr_accessor :tags_immutable
167
+
168
+ #
169
+ attr_accessor :type_display
170
+
171
+ # The date this package was uploaded.
172
+ attr_accessor :uploaded_at
173
+
174
+ #
175
+ attr_accessor :uploader
176
+
177
+ #
178
+ attr_accessor :uploader_url
179
+
180
+ # The raw version for this package.
181
+ attr_accessor :version
182
+
183
+ #
184
+ attr_accessor :version_orig
185
+
186
+
187
+ # Attribute mapping from ruby-style variable name to JSON key.
188
+ def self.attribute_map
189
+ {
190
+ :'architectures' => :'architectures',
191
+ :'cdn_url' => :'cdn_url',
192
+ :'checksum_md5' => :'checksum_md5',
193
+ :'checksum_sha1' => :'checksum_sha1',
194
+ :'checksum_sha256' => :'checksum_sha256',
195
+ :'checksum_sha512' => :'checksum_sha512',
196
+ :'description' => :'description',
197
+ :'distro' => :'distro',
198
+ :'distro_version' => :'distro_version',
199
+ :'downloads' => :'downloads',
200
+ :'epoch' => :'epoch',
201
+ :'extension' => :'extension',
202
+ :'filename' => :'filename',
203
+ :'files' => :'files',
204
+ :'format' => :'format',
205
+ :'format_url' => :'format_url',
206
+ :'identifier_perm' => :'identifier_perm',
207
+ :'indexed' => :'indexed',
208
+ :'is_sync_awaiting' => :'is_sync_awaiting',
209
+ :'is_sync_completed' => :'is_sync_completed',
210
+ :'is_sync_failed' => :'is_sync_failed',
211
+ :'is_sync_in_flight' => :'is_sync_in_flight',
212
+ :'is_sync_in_progress' => :'is_sync_in_progress',
213
+ :'license' => :'license',
214
+ :'name' => :'name',
215
+ :'namespace' => :'namespace',
216
+ :'namespace_url' => :'namespace_url',
217
+ :'num_files' => :'num_files',
218
+ :'package_type' => :'package_type',
219
+ :'release' => :'release',
220
+ :'repository' => :'repository',
221
+ :'repository_url' => :'repository_url',
222
+ :'self_html_url' => :'self_html_url',
223
+ :'self_url' => :'self_url',
224
+ :'size' => :'size',
225
+ :'slug' => :'slug',
226
+ :'slug_perm' => :'slug_perm',
227
+ :'stage' => :'stage',
228
+ :'stage_str' => :'stage_str',
229
+ :'stage_updated_at' => :'stage_updated_at',
230
+ :'status' => :'status',
231
+ :'status_reason' => :'status_reason',
232
+ :'status_str' => :'status_str',
233
+ :'status_updated_at' => :'status_updated_at',
234
+ :'status_url' => :'status_url',
235
+ :'subtype' => :'subtype',
236
+ :'summary' => :'summary',
237
+ :'sync_finished_at' => :'sync_finished_at',
238
+ :'sync_progress' => :'sync_progress',
239
+ :'tags_immutable' => :'tags_immutable',
240
+ :'type_display' => :'type_display',
241
+ :'uploaded_at' => :'uploaded_at',
242
+ :'uploader' => :'uploader',
243
+ :'uploader_url' => :'uploader_url',
244
+ :'version' => :'version',
245
+ :'version_orig' => :'version_orig'
246
+ }
247
+ end
248
+
249
+ # Attribute type mapping.
250
+ def self.swagger_types
251
+ {
252
+ :'architectures' => :'Array<PackagesownerrepoArchitectures>',
253
+ :'cdn_url' => :'String',
254
+ :'checksum_md5' => :'String',
255
+ :'checksum_sha1' => :'String',
256
+ :'checksum_sha256' => :'String',
257
+ :'checksum_sha512' => :'String',
258
+ :'description' => :'String',
259
+ :'distro' => :'Object',
260
+ :'distro_version' => :'Object',
261
+ :'downloads' => :'Integer',
262
+ :'epoch' => :'Integer',
263
+ :'extension' => :'String',
264
+ :'filename' => :'String',
265
+ :'files' => :'Array<PackagesownerrepoFiles>',
266
+ :'format' => :'String',
267
+ :'format_url' => :'String',
268
+ :'identifier_perm' => :'String',
269
+ :'indexed' => :'BOOLEAN',
270
+ :'is_sync_awaiting' => :'BOOLEAN',
271
+ :'is_sync_completed' => :'BOOLEAN',
272
+ :'is_sync_failed' => :'BOOLEAN',
273
+ :'is_sync_in_flight' => :'BOOLEAN',
274
+ :'is_sync_in_progress' => :'BOOLEAN',
275
+ :'license' => :'String',
276
+ :'name' => :'String',
277
+ :'namespace' => :'String',
278
+ :'namespace_url' => :'String',
279
+ :'num_files' => :'Integer',
280
+ :'package_type' => :'String',
281
+ :'release' => :'String',
282
+ :'repository' => :'String',
283
+ :'repository_url' => :'String',
284
+ :'self_html_url' => :'String',
285
+ :'self_url' => :'String',
286
+ :'size' => :'Integer',
287
+ :'slug' => :'String',
288
+ :'slug_perm' => :'String',
289
+ :'stage' => :'String',
290
+ :'stage_str' => :'String',
291
+ :'stage_updated_at' => :'String',
292
+ :'status' => :'String',
293
+ :'status_reason' => :'String',
294
+ :'status_str' => :'String',
295
+ :'status_updated_at' => :'String',
296
+ :'status_url' => :'String',
297
+ :'subtype' => :'String',
298
+ :'summary' => :'String',
299
+ :'sync_finished_at' => :'String',
300
+ :'sync_progress' => :'Integer',
301
+ :'tags_immutable' => :'Object',
302
+ :'type_display' => :'String',
303
+ :'uploaded_at' => :'String',
304
+ :'uploader' => :'String',
305
+ :'uploader_url' => :'String',
306
+ :'version' => :'String',
307
+ :'version_orig' => :'String'
308
+ }
309
+ end
310
+
311
+ # Initializes the object
312
+ # @param [Hash] attributes Model attributes in the form of hash
313
+ def initialize(attributes = {})
314
+ return unless attributes.is_a?(Hash)
315
+
316
+ # convert string to symbol for hash key
317
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
318
+
319
+ if attributes.has_key?(:'architectures')
320
+ if (value = attributes[:'architectures']).is_a?(Array)
321
+ self.architectures = value
322
+ end
323
+ end
324
+
325
+ if attributes.has_key?(:'cdn_url')
326
+ self.cdn_url = attributes[:'cdn_url']
327
+ end
328
+
329
+ if attributes.has_key?(:'checksum_md5')
330
+ self.checksum_md5 = attributes[:'checksum_md5']
331
+ end
332
+
333
+ if attributes.has_key?(:'checksum_sha1')
334
+ self.checksum_sha1 = attributes[:'checksum_sha1']
335
+ end
336
+
337
+ if attributes.has_key?(:'checksum_sha256')
338
+ self.checksum_sha256 = attributes[:'checksum_sha256']
339
+ end
340
+
341
+ if attributes.has_key?(:'checksum_sha512')
342
+ self.checksum_sha512 = attributes[:'checksum_sha512']
343
+ end
344
+
345
+ if attributes.has_key?(:'description')
346
+ self.description = attributes[:'description']
347
+ end
348
+
349
+ if attributes.has_key?(:'distro')
350
+ self.distro = attributes[:'distro']
351
+ end
352
+
353
+ if attributes.has_key?(:'distro_version')
354
+ self.distro_version = attributes[:'distro_version']
355
+ end
356
+
357
+ if attributes.has_key?(:'downloads')
358
+ self.downloads = attributes[:'downloads']
359
+ end
360
+
361
+ if attributes.has_key?(:'epoch')
362
+ self.epoch = attributes[:'epoch']
363
+ end
364
+
365
+ if attributes.has_key?(:'extension')
366
+ self.extension = attributes[:'extension']
367
+ end
368
+
369
+ if attributes.has_key?(:'filename')
370
+ self.filename = attributes[:'filename']
371
+ end
372
+
373
+ if attributes.has_key?(:'files')
374
+ if (value = attributes[:'files']).is_a?(Array)
375
+ self.files = value
376
+ end
377
+ end
378
+
379
+ if attributes.has_key?(:'format')
380
+ self.format = attributes[:'format']
381
+ end
382
+
383
+ if attributes.has_key?(:'format_url')
384
+ self.format_url = attributes[:'format_url']
385
+ end
386
+
387
+ if attributes.has_key?(:'identifier_perm')
388
+ self.identifier_perm = attributes[:'identifier_perm']
389
+ end
390
+
391
+ if attributes.has_key?(:'indexed')
392
+ self.indexed = attributes[:'indexed']
393
+ end
394
+
395
+ if attributes.has_key?(:'is_sync_awaiting')
396
+ self.is_sync_awaiting = attributes[:'is_sync_awaiting']
397
+ end
398
+
399
+ if attributes.has_key?(:'is_sync_completed')
400
+ self.is_sync_completed = attributes[:'is_sync_completed']
401
+ end
402
+
403
+ if attributes.has_key?(:'is_sync_failed')
404
+ self.is_sync_failed = attributes[:'is_sync_failed']
405
+ end
406
+
407
+ if attributes.has_key?(:'is_sync_in_flight')
408
+ self.is_sync_in_flight = attributes[:'is_sync_in_flight']
409
+ end
410
+
411
+ if attributes.has_key?(:'is_sync_in_progress')
412
+ self.is_sync_in_progress = attributes[:'is_sync_in_progress']
413
+ end
414
+
415
+ if attributes.has_key?(:'license')
416
+ self.license = attributes[:'license']
417
+ end
418
+
419
+ if attributes.has_key?(:'name')
420
+ self.name = attributes[:'name']
421
+ end
422
+
423
+ if attributes.has_key?(:'namespace')
424
+ self.namespace = attributes[:'namespace']
425
+ end
426
+
427
+ if attributes.has_key?(:'namespace_url')
428
+ self.namespace_url = attributes[:'namespace_url']
429
+ end
430
+
431
+ if attributes.has_key?(:'num_files')
432
+ self.num_files = attributes[:'num_files']
433
+ end
434
+
435
+ if attributes.has_key?(:'package_type')
436
+ self.package_type = attributes[:'package_type']
437
+ end
438
+
439
+ if attributes.has_key?(:'release')
440
+ self.release = attributes[:'release']
441
+ end
442
+
443
+ if attributes.has_key?(:'repository')
444
+ self.repository = attributes[:'repository']
445
+ end
446
+
447
+ if attributes.has_key?(:'repository_url')
448
+ self.repository_url = attributes[:'repository_url']
449
+ end
450
+
451
+ if attributes.has_key?(:'self_html_url')
452
+ self.self_html_url = attributes[:'self_html_url']
453
+ end
454
+
455
+ if attributes.has_key?(:'self_url')
456
+ self.self_url = attributes[:'self_url']
457
+ end
458
+
459
+ if attributes.has_key?(:'size')
460
+ self.size = attributes[:'size']
461
+ end
462
+
463
+ if attributes.has_key?(:'slug')
464
+ self.slug = attributes[:'slug']
465
+ end
466
+
467
+ if attributes.has_key?(:'slug_perm')
468
+ self.slug_perm = attributes[:'slug_perm']
469
+ end
470
+
471
+ if attributes.has_key?(:'stage')
472
+ self.stage = attributes[:'stage']
473
+ end
474
+
475
+ if attributes.has_key?(:'stage_str')
476
+ self.stage_str = attributes[:'stage_str']
477
+ end
478
+
479
+ if attributes.has_key?(:'stage_updated_at')
480
+ self.stage_updated_at = attributes[:'stage_updated_at']
481
+ end
482
+
483
+ if attributes.has_key?(:'status')
484
+ self.status = attributes[:'status']
485
+ end
486
+
487
+ if attributes.has_key?(:'status_reason')
488
+ self.status_reason = attributes[:'status_reason']
489
+ end
490
+
491
+ if attributes.has_key?(:'status_str')
492
+ self.status_str = attributes[:'status_str']
493
+ end
494
+
495
+ if attributes.has_key?(:'status_updated_at')
496
+ self.status_updated_at = attributes[:'status_updated_at']
497
+ end
498
+
499
+ if attributes.has_key?(:'status_url')
500
+ self.status_url = attributes[:'status_url']
501
+ end
502
+
503
+ if attributes.has_key?(:'subtype')
504
+ self.subtype = attributes[:'subtype']
505
+ end
506
+
507
+ if attributes.has_key?(:'summary')
508
+ self.summary = attributes[:'summary']
509
+ end
510
+
511
+ if attributes.has_key?(:'sync_finished_at')
512
+ self.sync_finished_at = attributes[:'sync_finished_at']
513
+ end
514
+
515
+ if attributes.has_key?(:'sync_progress')
516
+ self.sync_progress = attributes[:'sync_progress']
517
+ end
518
+
519
+ if attributes.has_key?(:'tags_immutable')
520
+ self.tags_immutable = attributes[:'tags_immutable']
521
+ end
522
+
523
+ if attributes.has_key?(:'type_display')
524
+ self.type_display = attributes[:'type_display']
525
+ end
526
+
527
+ if attributes.has_key?(:'uploaded_at')
528
+ self.uploaded_at = attributes[:'uploaded_at']
529
+ end
530
+
531
+ if attributes.has_key?(:'uploader')
532
+ self.uploader = attributes[:'uploader']
533
+ end
534
+
535
+ if attributes.has_key?(:'uploader_url')
536
+ self.uploader_url = attributes[:'uploader_url']
537
+ end
538
+
539
+ if attributes.has_key?(:'version')
540
+ self.version = attributes[:'version']
541
+ end
542
+
543
+ if attributes.has_key?(:'version_orig')
544
+ self.version_orig = attributes[:'version_orig']
545
+ end
546
+
547
+ end
548
+
549
+ # Show invalid properties with the reasons. Usually used together with valid?
550
+ # @return Array for valid properies with the reasons
551
+ def list_invalid_properties
552
+ invalid_properties = Array.new
553
+ return invalid_properties
554
+ end
555
+
556
+ # Check to see if the all the properties in the model are valid
557
+ # @return true if the model is valid
558
+ def valid?
559
+ return true
560
+ end
561
+
562
+ # Checks equality by comparing each attribute.
563
+ # @param [Object] Object to be compared
564
+ def ==(o)
565
+ return true if self.equal?(o)
566
+ self.class == o.class &&
567
+ architectures == o.architectures &&
568
+ cdn_url == o.cdn_url &&
569
+ checksum_md5 == o.checksum_md5 &&
570
+ checksum_sha1 == o.checksum_sha1 &&
571
+ checksum_sha256 == o.checksum_sha256 &&
572
+ checksum_sha512 == o.checksum_sha512 &&
573
+ description == o.description &&
574
+ distro == o.distro &&
575
+ distro_version == o.distro_version &&
576
+ downloads == o.downloads &&
577
+ epoch == o.epoch &&
578
+ extension == o.extension &&
579
+ filename == o.filename &&
580
+ files == o.files &&
581
+ format == o.format &&
582
+ format_url == o.format_url &&
583
+ identifier_perm == o.identifier_perm &&
584
+ indexed == o.indexed &&
585
+ is_sync_awaiting == o.is_sync_awaiting &&
586
+ is_sync_completed == o.is_sync_completed &&
587
+ is_sync_failed == o.is_sync_failed &&
588
+ is_sync_in_flight == o.is_sync_in_flight &&
589
+ is_sync_in_progress == o.is_sync_in_progress &&
590
+ license == o.license &&
591
+ name == o.name &&
592
+ namespace == o.namespace &&
593
+ namespace_url == o.namespace_url &&
594
+ num_files == o.num_files &&
595
+ package_type == o.package_type &&
596
+ release == o.release &&
597
+ repository == o.repository &&
598
+ repository_url == o.repository_url &&
599
+ self_html_url == o.self_html_url &&
600
+ self_url == o.self_url &&
601
+ size == o.size &&
602
+ slug == o.slug &&
603
+ slug_perm == o.slug_perm &&
604
+ stage == o.stage &&
605
+ stage_str == o.stage_str &&
606
+ stage_updated_at == o.stage_updated_at &&
607
+ status == o.status &&
608
+ status_reason == o.status_reason &&
609
+ status_str == o.status_str &&
610
+ status_updated_at == o.status_updated_at &&
611
+ status_url == o.status_url &&
612
+ subtype == o.subtype &&
613
+ summary == o.summary &&
614
+ sync_finished_at == o.sync_finished_at &&
615
+ sync_progress == o.sync_progress &&
616
+ tags_immutable == o.tags_immutable &&
617
+ type_display == o.type_display &&
618
+ uploaded_at == o.uploaded_at &&
619
+ uploader == o.uploader &&
620
+ uploader_url == o.uploader_url &&
621
+ version == o.version &&
622
+ version_orig == o.version_orig
623
+ end
624
+
625
+ # @see the `==` method
626
+ # @param [Object] Object to be compared
627
+ def eql?(o)
628
+ self == o
629
+ end
630
+
631
+ # Calculates hash code according to all attributes.
632
+ # @return [Fixnum] Hash code
633
+ def hash
634
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
635
+ end
636
+
637
+ # Builds the object from hash
638
+ # @param [Hash] attributes Model attributes in the form of hash
639
+ # @return [Object] Returns the model itself
640
+ def build_from_hash(attributes)
641
+ return nil unless attributes.is_a?(Hash)
642
+ self.class.swagger_types.each_pair do |key, type|
643
+ if type =~ /\AArray<(.*)>/i
644
+ # check to ensure the input is an array given that the the attribute
645
+ # is documented as an array but the input is not
646
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
647
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
648
+ end
649
+ elsif !attributes[self.class.attribute_map[key]].nil?
650
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
651
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
652
+ end
653
+
654
+ self
655
+ end
656
+
657
+ # Deserializes the data based on type
658
+ # @param string type Data type
659
+ # @param string value Value to be deserialized
660
+ # @return [Object] Deserialized data
661
+ def _deserialize(type, value)
662
+ case type.to_sym
663
+ when :DateTime
664
+ DateTime.parse(value)
665
+ when :Date
666
+ Date.parse(value)
667
+ when :String
668
+ value.to_s
669
+ when :Integer
670
+ value.to_i
671
+ when :Float
672
+ value.to_f
673
+ when :BOOLEAN
674
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
675
+ true
676
+ else
677
+ false
678
+ end
679
+ when :Object
680
+ # generic object (usually a Hash), return directly
681
+ value
682
+ when /\AArray<(?<inner_type>.+)>\z/
683
+ inner_type = Regexp.last_match[:inner_type]
684
+ value.map { |v| _deserialize(inner_type, v) }
685
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
686
+ k_type = Regexp.last_match[:k_type]
687
+ v_type = Regexp.last_match[:v_type]
688
+ {}.tap do |hash|
689
+ value.each do |k, v|
690
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
691
+ end
692
+ end
693
+ else # model
694
+ temp_model = CloudsmithApi.const_get(type).new
695
+ temp_model.build_from_hash(value)
696
+ end
697
+ end
698
+
699
+ # Returns the string representation of the object
700
+ # @return [String] String presentation of the object
701
+ def to_s
702
+ to_hash.to_s
703
+ end
704
+
705
+ # to_body is an alias to to_hash (backward compatibility)
706
+ # @return [Hash] Returns the object in the form of hash
707
+ def to_body
708
+ to_hash
709
+ end
710
+
711
+ # Returns the object in the form of hash
712
+ # @return [Hash] Returns the object in the form of hash
713
+ def to_hash
714
+ hash = {}
715
+ self.class.attribute_map.each_pair do |attr, param|
716
+ value = self.send(attr)
717
+ next if value.nil?
718
+ hash[param] = _to_hash(value)
719
+ end
720
+ hash
721
+ end
722
+
723
+ # Outputs non-array value in the form of hash
724
+ # For object, use to_hash. Otherwise, just return the value
725
+ # @param [Object] value Any valid value
726
+ # @return [Hash] Returns the value in the form of hash
727
+ def _to_hash(value)
728
+ if value.is_a?(Array)
729
+ value.compact.map{ |v| _to_hash(v) }
730
+ elsif value.is_a?(Hash)
731
+ {}.tap do |hash|
732
+ value.each { |k, v| hash[k] = _to_hash(v) }
733
+ end
734
+ elsif value.respond_to? :to_hash
735
+ value.to_hash
736
+ else
737
+ value
738
+ end
739
+ end
740
+
741
+ end
742
+
743
+ end