cloudsmith-api 2.0.31__py3-none-any.whl

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 (697) hide show
  1. cloudsmith_api/__init__.py +366 -0
  2. cloudsmith_api/api/__init__.py +28 -0
  3. cloudsmith_api/api/audit_log_api.py +264 -0
  4. cloudsmith_api/api/badges_api.py +217 -0
  5. cloudsmith_api/api/broadcasts_api.py +137 -0
  6. cloudsmith_api/api/bulk_action_api.py +137 -0
  7. cloudsmith_api/api/distros_api.py +224 -0
  8. cloudsmith_api/api/entitlements_api.py +1351 -0
  9. cloudsmith_api/api/files_api.py +621 -0
  10. cloudsmith_api/api/formats_api.py +224 -0
  11. cloudsmith_api/api/metrics_api.py +407 -0
  12. cloudsmith_api/api/namespaces_api.py +232 -0
  13. cloudsmith_api/api/openid_api.py +137 -0
  14. cloudsmith_api/api/orgs_api.py +8230 -0
  15. cloudsmith_api/api/packages_api.py +8253 -0
  16. cloudsmith_api/api/quota_api.py +430 -0
  17. cloudsmith_api/api/rates_api.py +125 -0
  18. cloudsmith_api/api/recycle_bin_api.py +248 -0
  19. cloudsmith_api/api/repos_api.py +18893 -0
  20. cloudsmith_api/api/status_api.py +125 -0
  21. cloudsmith_api/api/storage_regions_api.py +224 -0
  22. cloudsmith_api/api/user_api.py +509 -0
  23. cloudsmith_api/api/users_api.py +133 -0
  24. cloudsmith_api/api/vulnerabilities_api.py +502 -0
  25. cloudsmith_api/api/webhooks_api.py +609 -0
  26. cloudsmith_api/api_client.py +639 -0
  27. cloudsmith_api/configuration.py +253 -0
  28. cloudsmith_api/models/__init__.py +337 -0
  29. cloudsmith_api/models/allocated_limit.py +226 -0
  30. cloudsmith_api/models/allocated_limit_raw.py +202 -0
  31. cloudsmith_api/models/alpine_package_upload.py +2560 -0
  32. cloudsmith_api/models/alpine_package_upload_request.py +278 -0
  33. cloudsmith_api/models/alpine_upstream.py +1001 -0
  34. cloudsmith_api/models/alpine_upstream_request.py +595 -0
  35. cloudsmith_api/models/alpine_upstream_request_patch.py +593 -0
  36. cloudsmith_api/models/architecture.py +160 -0
  37. cloudsmith_api/models/broadcast_token.py +153 -0
  38. cloudsmith_api/models/broadcast_token_input.py +161 -0
  39. cloudsmith_api/models/cargo_package_upload.py +2560 -0
  40. cloudsmith_api/models/cargo_package_upload_request.py +246 -0
  41. cloudsmith_api/models/cargo_upstream.py +872 -0
  42. cloudsmith_api/models/cargo_upstream_request.py +529 -0
  43. cloudsmith_api/models/cargo_upstream_request_patch.py +527 -0
  44. cloudsmith_api/models/cocoapods_package_upload.py +2560 -0
  45. cloudsmith_api/models/cocoapods_package_upload_request.py +246 -0
  46. cloudsmith_api/models/common_bandwidth_metrics.py +206 -0
  47. cloudsmith_api/models/common_bandwidth_metrics_value.py +193 -0
  48. cloudsmith_api/models/common_downloads_metrics.py +206 -0
  49. cloudsmith_api/models/common_downloads_metrics_value.py +125 -0
  50. cloudsmith_api/models/common_metrics.py +236 -0
  51. cloudsmith_api/models/composer_package_upload.py +2563 -0
  52. cloudsmith_api/models/composer_package_upload_request.py +277 -0
  53. cloudsmith_api/models/composer_upstream.py +872 -0
  54. cloudsmith_api/models/composer_upstream_request.py +529 -0
  55. cloudsmith_api/models/composer_upstream_request_patch.py +527 -0
  56. cloudsmith_api/models/conan_package_upload.py +2634 -0
  57. cloudsmith_api/models/conan_package_upload_request.py +472 -0
  58. cloudsmith_api/models/conda_package_upload.py +2560 -0
  59. cloudsmith_api/models/conda_package_upload_request.py +246 -0
  60. cloudsmith_api/models/conda_upstream.py +872 -0
  61. cloudsmith_api/models/conda_upstream_request.py +529 -0
  62. cloudsmith_api/models/conda_upstream_request_patch.py +527 -0
  63. cloudsmith_api/models/connected_repository.py +311 -0
  64. cloudsmith_api/models/connected_repository_request.py +190 -0
  65. cloudsmith_api/models/connected_repository_request_patch.py +189 -0
  66. cloudsmith_api/models/cran_package_upload.py +2594 -0
  67. cloudsmith_api/models/cran_package_upload_request.py +311 -0
  68. cloudsmith_api/models/cran_upstream.py +872 -0
  69. cloudsmith_api/models/cran_upstream_request.py +529 -0
  70. cloudsmith_api/models/cran_upstream_request_patch.py +527 -0
  71. cloudsmith_api/models/dart_package_upload.py +2560 -0
  72. cloudsmith_api/models/dart_package_upload_request.py +246 -0
  73. cloudsmith_api/models/dart_upstream.py +872 -0
  74. cloudsmith_api/models/dart_upstream_request.py +529 -0
  75. cloudsmith_api/models/dart_upstream_request_patch.py +527 -0
  76. cloudsmith_api/models/deb_package_upload.py +2560 -0
  77. cloudsmith_api/models/deb_package_upload_request.py +377 -0
  78. cloudsmith_api/models/deb_upstream.py +1152 -0
  79. cloudsmith_api/models/deb_upstream_request.py +748 -0
  80. cloudsmith_api/models/deb_upstream_request_patch.py +745 -0
  81. cloudsmith_api/models/distribution.py +217 -0
  82. cloudsmith_api/models/distribution_full.py +300 -0
  83. cloudsmith_api/models/distribution_version.py +160 -0
  84. cloudsmith_api/models/docker_package_upload.py +2560 -0
  85. cloudsmith_api/models/docker_package_upload_request.py +246 -0
  86. cloudsmith_api/models/docker_upstream.py +760 -0
  87. cloudsmith_api/models/docker_upstream_request.py +591 -0
  88. cloudsmith_api/models/docker_upstream_request_patch.py +589 -0
  89. cloudsmith_api/models/dynamic_mapping.py +162 -0
  90. cloudsmith_api/models/entitlement_usage_metrics.py +125 -0
  91. cloudsmith_api/models/error_detail.py +158 -0
  92. cloudsmith_api/models/eula.py +166 -0
  93. cloudsmith_api/models/format.py +369 -0
  94. cloudsmith_api/models/format_support.py +299 -0
  95. cloudsmith_api/models/format_support_upstream.py +350 -0
  96. cloudsmith_api/models/generic_package_upload.py +2566 -0
  97. cloudsmith_api/models/generic_package_upload_request.py +343 -0
  98. cloudsmith_api/models/generic_upstream.py +906 -0
  99. cloudsmith_api/models/generic_upstream_request.py +563 -0
  100. cloudsmith_api/models/generic_upstream_request_patch.py +561 -0
  101. cloudsmith_api/models/geo_ip_location.py +296 -0
  102. cloudsmith_api/models/go_package_upload.py +2560 -0
  103. cloudsmith_api/models/go_package_upload_request.py +246 -0
  104. cloudsmith_api/models/go_upstream.py +872 -0
  105. cloudsmith_api/models/go_upstream_request.py +529 -0
  106. cloudsmith_api/models/go_upstream_request_patch.py +527 -0
  107. cloudsmith_api/models/helm_package_upload.py +2560 -0
  108. cloudsmith_api/models/helm_package_upload_request.py +277 -0
  109. cloudsmith_api/models/helm_upstream.py +872 -0
  110. cloudsmith_api/models/helm_upstream_request.py +529 -0
  111. cloudsmith_api/models/helm_upstream_request_patch.py +527 -0
  112. cloudsmith_api/models/hex_package_upload.py +2560 -0
  113. cloudsmith_api/models/hex_package_upload_request.py +246 -0
  114. cloudsmith_api/models/hex_upstream.py +872 -0
  115. cloudsmith_api/models/hex_upstream_request.py +529 -0
  116. cloudsmith_api/models/hex_upstream_request_patch.py +527 -0
  117. cloudsmith_api/models/history.py +265 -0
  118. cloudsmith_api/models/history_fieldset.py +179 -0
  119. cloudsmith_api/models/history_fieldset_raw.py +179 -0
  120. cloudsmith_api/models/huggingface_package_upload.py +2560 -0
  121. cloudsmith_api/models/huggingface_package_upload_request.py +246 -0
  122. cloudsmith_api/models/huggingface_upstream.py +872 -0
  123. cloudsmith_api/models/huggingface_upstream_request.py +529 -0
  124. cloudsmith_api/models/huggingface_upstream_request_patch.py +527 -0
  125. cloudsmith_api/models/inline_response200.py +238 -0
  126. cloudsmith_api/models/inline_response2001.py +182 -0
  127. cloudsmith_api/models/inline_response2002.py +125 -0
  128. cloudsmith_api/models/inline_response2003.py +125 -0
  129. cloudsmith_api/models/inline_response2004.py +125 -0
  130. cloudsmith_api/models/luarocks_package_upload.py +2560 -0
  131. cloudsmith_api/models/luarocks_package_upload_request.py +246 -0
  132. cloudsmith_api/models/maven_package_upload.py +2714 -0
  133. cloudsmith_api/models/maven_package_upload_request.py +611 -0
  134. cloudsmith_api/models/maven_upstream.py +1062 -0
  135. cloudsmith_api/models/maven_upstream_request.py +658 -0
  136. cloudsmith_api/models/maven_upstream_request_patch.py +656 -0
  137. cloudsmith_api/models/mcp_package_upload.py +2563 -0
  138. cloudsmith_api/models/mcp_package_upload_request.py +277 -0
  139. cloudsmith_api/models/member_teams.py +192 -0
  140. cloudsmith_api/models/namespace.py +211 -0
  141. cloudsmith_api/models/namespace_audit_log.py +562 -0
  142. cloudsmith_api/models/nested_license_policy.py +374 -0
  143. cloudsmith_api/models/nested_vulnerability_policy.py +382 -0
  144. cloudsmith_api/models/nested_vulnerability_scan_results.py +298 -0
  145. cloudsmith_api/models/nix_package_upload.py +2563 -0
  146. cloudsmith_api/models/nix_package_upload_request.py +308 -0
  147. cloudsmith_api/models/nix_upstream.py +872 -0
  148. cloudsmith_api/models/nix_upstream_request.py +529 -0
  149. cloudsmith_api/models/nix_upstream_request_patch.py +527 -0
  150. cloudsmith_api/models/npm_package_upload.py +2560 -0
  151. cloudsmith_api/models/npm_package_upload_request.py +277 -0
  152. cloudsmith_api/models/npm_upstream.py +907 -0
  153. cloudsmith_api/models/npm_upstream_request.py +564 -0
  154. cloudsmith_api/models/npm_upstream_request_patch.py +562 -0
  155. cloudsmith_api/models/nuget_package_upload.py +2560 -0
  156. cloudsmith_api/models/nuget_package_upload_request.py +277 -0
  157. cloudsmith_api/models/nuget_upstream.py +872 -0
  158. cloudsmith_api/models/nuget_upstream_request.py +529 -0
  159. cloudsmith_api/models/nuget_upstream_request_patch.py +527 -0
  160. cloudsmith_api/models/oidc.py +96 -0
  161. cloudsmith_api/models/oidc1.py +126 -0
  162. cloudsmith_api/models/oidc_request.py +162 -0
  163. cloudsmith_api/models/organization.py +294 -0
  164. cloudsmith_api/models/organization_custom_domain_nested_repo.py +160 -0
  165. cloudsmith_api/models/organization_custom_domains.py +598 -0
  166. cloudsmith_api/models/organization_group_sync.py +259 -0
  167. cloudsmith_api/models/organization_group_sync_request.py +254 -0
  168. cloudsmith_api/models/organization_group_sync_status.py +124 -0
  169. cloudsmith_api/models/organization_invite.py +386 -0
  170. cloudsmith_api/models/organization_invite_extend.py +388 -0
  171. cloudsmith_api/models/organization_invite_request.py +221 -0
  172. cloudsmith_api/models/organization_invite_update.py +133 -0
  173. cloudsmith_api/models/organization_invite_update_request_patch.py +133 -0
  174. cloudsmith_api/models/organization_membership.py +469 -0
  175. cloudsmith_api/models/organization_membership_request_patch.py +96 -0
  176. cloudsmith_api/models/organization_membership_role_update.py +417 -0
  177. cloudsmith_api/models/organization_membership_role_update_request_patch.py +131 -0
  178. cloudsmith_api/models/organization_membership_visibility_update.py +417 -0
  179. cloudsmith_api/models/organization_membership_visibility_update_request_patch.py +131 -0
  180. cloudsmith_api/models/organization_package_license_policy.py +355 -0
  181. cloudsmith_api/models/organization_package_license_policy_request.py +271 -0
  182. cloudsmith_api/models/organization_package_license_policy_request_patch.py +269 -0
  183. cloudsmith_api/models/organization_package_vulnerability_policy.py +363 -0
  184. cloudsmith_api/models/organization_package_vulnerability_policy_request.py +279 -0
  185. cloudsmith_api/models/organization_package_vulnerability_policy_request_patch.py +278 -0
  186. cloudsmith_api/models/organization_saml_auth.py +276 -0
  187. cloudsmith_api/models/organization_saml_auth_request_patch.py +274 -0
  188. cloudsmith_api/models/organization_team.py +264 -0
  189. cloudsmith_api/models/organization_team_invite.py +168 -0
  190. cloudsmith_api/models/organization_team_members.py +127 -0
  191. cloudsmith_api/models/organization_team_request.py +232 -0
  192. cloudsmith_api/models/organization_team_request_patch.py +231 -0
  193. cloudsmith_api/models/organization_team_service_member.py +195 -0
  194. cloudsmith_api/models/organization_usage.py +210 -0
  195. cloudsmith_api/models/organization_usage_update.py +182 -0
  196. cloudsmith_api/models/organization_usage_update_request_patch.py +182 -0
  197. cloudsmith_api/models/p2_package_upload.py +2560 -0
  198. cloudsmith_api/models/p2_package_upload_request.py +246 -0
  199. cloudsmith_api/models/package.py +2617 -0
  200. cloudsmith_api/models/package_bulk_action.py +228 -0
  201. cloudsmith_api/models/package_bulk_action_response.py +185 -0
  202. cloudsmith_api/models/package_copy.py +2619 -0
  203. cloudsmith_api/models/package_copy_request.py +212 -0
  204. cloudsmith_api/models/package_deny_policy.py +366 -0
  205. cloudsmith_api/models/package_deny_policy_request.py +216 -0
  206. cloudsmith_api/models/package_deny_policy_request_patch.py +215 -0
  207. cloudsmith_api/models/package_dependencies.py +125 -0
  208. cloudsmith_api/models/package_dependency.py +228 -0
  209. cloudsmith_api/models/package_detail.py +2645 -0
  210. cloudsmith_api/models/package_file.py +475 -0
  211. cloudsmith_api/models/package_file_parts_upload.py +191 -0
  212. cloudsmith_api/models/package_file_upload.py +247 -0
  213. cloudsmith_api/models/package_file_upload_request.py +236 -0
  214. cloudsmith_api/models/package_group.py +261 -0
  215. cloudsmith_api/models/package_license.py +276 -0
  216. cloudsmith_api/models/package_license_policy_evaluation_request.py +293 -0
  217. cloudsmith_api/models/package_license_policy_evaluation_request_request.py +96 -0
  218. cloudsmith_api/models/package_license_policy_violation_log.py +205 -0
  219. cloudsmith_api/models/package_license_policy_violation_log_cursor_page.py +177 -0
  220. cloudsmith_api/models/package_license_request_patch.py +309 -0
  221. cloudsmith_api/models/package_move.py +2619 -0
  222. cloudsmith_api/models/package_move_request.py +184 -0
  223. cloudsmith_api/models/package_quarantine.py +2589 -0
  224. cloudsmith_api/models/package_quarantine_request.py +208 -0
  225. cloudsmith_api/models/package_recycle_bin.py +197 -0
  226. cloudsmith_api/models/package_resync.py +2617 -0
  227. cloudsmith_api/models/package_status.py +762 -0
  228. cloudsmith_api/models/package_tag.py +2619 -0
  229. cloudsmith_api/models/package_tag_request.py +241 -0
  230. cloudsmith_api/models/package_usage_metrics.py +125 -0
  231. cloudsmith_api/models/package_version_badge.py +96 -0
  232. cloudsmith_api/models/package_vulnerability.py +264 -0
  233. cloudsmith_api/models/package_vulnerability_policy_evaluation_request.py +293 -0
  234. cloudsmith_api/models/package_vulnerability_policy_evaluation_request_request.py +96 -0
  235. cloudsmith_api/models/package_vulnerability_policy_violation_log.py +232 -0
  236. cloudsmith_api/models/package_vulnerability_policy_violation_log_cursor_page.py +177 -0
  237. cloudsmith_api/models/provider_settings.py +347 -0
  238. cloudsmith_api/models/provider_settings_write.py +375 -0
  239. cloudsmith_api/models/provider_settings_write_request.py +307 -0
  240. cloudsmith_api/models/provider_settings_write_request_patch.py +303 -0
  241. cloudsmith_api/models/python_package_upload.py +2560 -0
  242. cloudsmith_api/models/python_package_upload_request.py +246 -0
  243. cloudsmith_api/models/python_upstream.py +907 -0
  244. cloudsmith_api/models/python_upstream_request.py +564 -0
  245. cloudsmith_api/models/python_upstream_request_patch.py +562 -0
  246. cloudsmith_api/models/quota.py +125 -0
  247. cloudsmith_api/models/quota_history.py +125 -0
  248. cloudsmith_api/models/rate_check.py +269 -0
  249. cloudsmith_api/models/raw_package_upload.py +2572 -0
  250. cloudsmith_api/models/raw_package_upload_request.py +404 -0
  251. cloudsmith_api/models/recycle_bin_package.py +829 -0
  252. cloudsmith_api/models/repository.py +2221 -0
  253. cloudsmith_api/models/repository_audit_log.py +470 -0
  254. cloudsmith_api/models/repository_create.py +2221 -0
  255. cloudsmith_api/models/repository_create_request.py +1546 -0
  256. cloudsmith_api/models/repository_ecdsa_key.py +296 -0
  257. cloudsmith_api/models/repository_ecdsa_key_create.py +161 -0
  258. cloudsmith_api/models/repository_ed25519_key.py +299 -0
  259. cloudsmith_api/models/repository_ed25519_key_create.py +161 -0
  260. cloudsmith_api/models/repository_geo_ip_cidr.py +156 -0
  261. cloudsmith_api/models/repository_geo_ip_country_code.py +156 -0
  262. cloudsmith_api/models/repository_geo_ip_rules.py +152 -0
  263. cloudsmith_api/models/repository_geo_ip_rules_request.py +152 -0
  264. cloudsmith_api/models/repository_geo_ip_rules_request_patch.py +150 -0
  265. cloudsmith_api/models/repository_geo_ip_status.py +126 -0
  266. cloudsmith_api/models/repository_geo_ip_test_address.py +127 -0
  267. cloudsmith_api/models/repository_geo_ip_test_address_response.py +127 -0
  268. cloudsmith_api/models/repository_geo_ip_test_address_response_dict.py +223 -0
  269. cloudsmith_api/models/repository_gpg_key.py +298 -0
  270. cloudsmith_api/models/repository_gpg_key_create.py +161 -0
  271. cloudsmith_api/models/repository_privilege_dict.py +236 -0
  272. cloudsmith_api/models/repository_privilege_input.py +127 -0
  273. cloudsmith_api/models/repository_privilege_input_request.py +127 -0
  274. cloudsmith_api/models/repository_privilege_input_request_patch.py +126 -0
  275. cloudsmith_api/models/repository_request_patch.py +1517 -0
  276. cloudsmith_api/models/repository_retention_rules.py +340 -0
  277. cloudsmith_api/models/repository_retention_rules_request_patch.py +340 -0
  278. cloudsmith_api/models/repository_rsa_key.py +296 -0
  279. cloudsmith_api/models/repository_rsa_key_create.py +161 -0
  280. cloudsmith_api/models/repository_token.py +1236 -0
  281. cloudsmith_api/models/repository_token_action.py +96 -0
  282. cloudsmith_api/models/repository_token_private_broadcasts.py +127 -0
  283. cloudsmith_api/models/repository_token_private_broadcasts_request.py +127 -0
  284. cloudsmith_api/models/repository_token_refresh.py +1235 -0
  285. cloudsmith_api/models/repository_token_refresh_request.py +523 -0
  286. cloudsmith_api/models/repository_token_request.py +553 -0
  287. cloudsmith_api/models/repository_token_request_patch.py +552 -0
  288. cloudsmith_api/models/repository_token_sync.py +126 -0
  289. cloudsmith_api/models/repository_token_sync_request.py +130 -0
  290. cloudsmith_api/models/repository_transfer_region.py +126 -0
  291. cloudsmith_api/models/repository_transfer_region_request.py +126 -0
  292. cloudsmith_api/models/repository_webhook.py +871 -0
  293. cloudsmith_api/models/repository_webhook_request.py +471 -0
  294. cloudsmith_api/models/repository_webhook_request_patch.py +468 -0
  295. cloudsmith_api/models/repository_x509_ecdsa_certificate.py +375 -0
  296. cloudsmith_api/models/repository_x509_rsa_certificate.py +375 -0
  297. cloudsmith_api/models/resources_rate_check.py +126 -0
  298. cloudsmith_api/models/respository_geo_ip_enable_disable.py +96 -0
  299. cloudsmith_api/models/respository_geo_ip_enable_disable_request.py +96 -0
  300. cloudsmith_api/models/rpm_package_upload.py +2560 -0
  301. cloudsmith_api/models/rpm_package_upload_request.py +278 -0
  302. cloudsmith_api/models/rpm_upstream.py +1084 -0
  303. cloudsmith_api/models/rpm_upstream_request.py +680 -0
  304. cloudsmith_api/models/rpm_upstream_request_patch.py +677 -0
  305. cloudsmith_api/models/ruby_package_upload.py +2560 -0
  306. cloudsmith_api/models/ruby_package_upload_request.py +246 -0
  307. cloudsmith_api/models/ruby_upstream.py +872 -0
  308. cloudsmith_api/models/ruby_upstream_request.py +529 -0
  309. cloudsmith_api/models/ruby_upstream_request_patch.py +527 -0
  310. cloudsmith_api/models/service.py +399 -0
  311. cloudsmith_api/models/service_request.py +228 -0
  312. cloudsmith_api/models/service_request_patch.py +227 -0
  313. cloudsmith_api/models/service_teams.py +199 -0
  314. cloudsmith_api/models/status_basic.py +160 -0
  315. cloudsmith_api/models/storage_allocated_limit.py +290 -0
  316. cloudsmith_api/models/storage_allocated_limit_raw.py +254 -0
  317. cloudsmith_api/models/storage_region.py +162 -0
  318. cloudsmith_api/models/storage_usage.py +226 -0
  319. cloudsmith_api/models/storage_usage_raw.py +202 -0
  320. cloudsmith_api/models/swift_package_upload.py +2732 -0
  321. cloudsmith_api/models/swift_package_upload_request.py +500 -0
  322. cloudsmith_api/models/swift_upstream.py +872 -0
  323. cloudsmith_api/models/swift_upstream_request.py +529 -0
  324. cloudsmith_api/models/swift_upstream_request_patch.py +527 -0
  325. cloudsmith_api/models/tags.py +96 -0
  326. cloudsmith_api/models/terraform_package_upload.py +2560 -0
  327. cloudsmith_api/models/terraform_package_upload_request.py +246 -0
  328. cloudsmith_api/models/usage.py +194 -0
  329. cloudsmith_api/models/usage_fieldset.py +152 -0
  330. cloudsmith_api/models/usage_limits.py +152 -0
  331. cloudsmith_api/models/usage_limits_raw.py +152 -0
  332. cloudsmith_api/models/usage_raw.py +176 -0
  333. cloudsmith_api/models/user_auth_token.py +188 -0
  334. cloudsmith_api/models/user_auth_token_request.py +191 -0
  335. cloudsmith_api/models/user_authentication_token.py +182 -0
  336. cloudsmith_api/models/user_brief.py +297 -0
  337. cloudsmith_api/models/user_profile.py +386 -0
  338. cloudsmith_api/models/vagrant_package_upload.py +2600 -0
  339. cloudsmith_api/models/vagrant_package_upload_request.py +342 -0
  340. cloudsmith_api/models/vsx_package_upload.py +2560 -0
  341. cloudsmith_api/models/vsx_package_upload_request.py +246 -0
  342. cloudsmith_api/models/vulnerability.py +405 -0
  343. cloudsmith_api/models/vulnerability_scan.py +185 -0
  344. cloudsmith_api/models/vulnerability_scan_results.py +326 -0
  345. cloudsmith_api/models/vulnerability_scan_results_list.py +299 -0
  346. cloudsmith_api/models/vulnerability_scan_version.py +266 -0
  347. cloudsmith_api/models/web_osv_severity_counts.py +280 -0
  348. cloudsmith_api/models/webhook_template.py +160 -0
  349. cloudsmith_api/rest.py +323 -0
  350. cloudsmith_api-2.0.31.dist-info/METADATA +14 -0
  351. cloudsmith_api-2.0.31.dist-info/RECORD +697 -0
  352. cloudsmith_api-2.0.31.dist-info/WHEEL +6 -0
  353. cloudsmith_api-2.0.31.dist-info/top_level.txt +2 -0
  354. test/__init__.py +1 -0
  355. test/test_allocated_limit.py +40 -0
  356. test/test_allocated_limit_raw.py +40 -0
  357. test/test_alpine_package_upload.py +40 -0
  358. test/test_alpine_package_upload_request.py +40 -0
  359. test/test_alpine_upstream.py +40 -0
  360. test/test_alpine_upstream_request.py +40 -0
  361. test/test_alpine_upstream_request_patch.py +40 -0
  362. test/test_architecture.py +40 -0
  363. test/test_audit_log_api.py +48 -0
  364. test/test_badges_api.py +41 -0
  365. test/test_broadcast_token.py +40 -0
  366. test/test_broadcast_token_input.py +40 -0
  367. test/test_broadcasts_api.py +41 -0
  368. test/test_bulk_action_api.py +40 -0
  369. test/test_cargo_package_upload.py +40 -0
  370. test/test_cargo_package_upload_request.py +40 -0
  371. test/test_cargo_upstream.py +40 -0
  372. test/test_cargo_upstream_request.py +40 -0
  373. test/test_cargo_upstream_request_patch.py +40 -0
  374. test/test_cocoapods_package_upload.py +40 -0
  375. test/test_cocoapods_package_upload_request.py +40 -0
  376. test/test_common_bandwidth_metrics.py +40 -0
  377. test/test_common_bandwidth_metrics_value.py +40 -0
  378. test/test_common_downloads_metrics.py +40 -0
  379. test/test_common_downloads_metrics_value.py +40 -0
  380. test/test_common_metrics.py +40 -0
  381. test/test_composer_package_upload.py +40 -0
  382. test/test_composer_package_upload_request.py +40 -0
  383. test/test_composer_upstream.py +40 -0
  384. test/test_composer_upstream_request.py +40 -0
  385. test/test_composer_upstream_request_patch.py +40 -0
  386. test/test_conan_package_upload.py +40 -0
  387. test/test_conan_package_upload_request.py +40 -0
  388. test/test_conda_package_upload.py +40 -0
  389. test/test_conda_package_upload_request.py +40 -0
  390. test/test_conda_upstream.py +40 -0
  391. test/test_conda_upstream_request.py +40 -0
  392. test/test_conda_upstream_request_patch.py +40 -0
  393. test/test_connected_repository.py +40 -0
  394. test/test_connected_repository_request.py +40 -0
  395. test/test_connected_repository_request_patch.py +40 -0
  396. test/test_cran_package_upload.py +40 -0
  397. test/test_cran_package_upload_request.py +40 -0
  398. test/test_cran_upstream.py +40 -0
  399. test/test_cran_upstream_request.py +40 -0
  400. test/test_cran_upstream_request_patch.py +40 -0
  401. test/test_dart_package_upload.py +40 -0
  402. test/test_dart_package_upload_request.py +40 -0
  403. test/test_dart_upstream.py +40 -0
  404. test/test_dart_upstream_request.py +40 -0
  405. test/test_dart_upstream_request_patch.py +40 -0
  406. test/test_deb_package_upload.py +40 -0
  407. test/test_deb_package_upload_request.py +40 -0
  408. test/test_deb_upstream.py +40 -0
  409. test/test_deb_upstream_request.py +40 -0
  410. test/test_deb_upstream_request_patch.py +40 -0
  411. test/test_distribution.py +40 -0
  412. test/test_distribution_full.py +40 -0
  413. test/test_distribution_version.py +40 -0
  414. test/test_distros_api.py +48 -0
  415. test/test_docker_package_upload.py +40 -0
  416. test/test_docker_package_upload_request.py +40 -0
  417. test/test_docker_upstream.py +40 -0
  418. test/test_docker_upstream_request.py +40 -0
  419. test/test_docker_upstream_request_patch.py +40 -0
  420. test/test_dynamic_mapping.py +40 -0
  421. test/test_entitlement_usage_metrics.py +40 -0
  422. test/test_entitlements_api.py +111 -0
  423. test/test_error_detail.py +40 -0
  424. test/test_eula.py +40 -0
  425. test/test_files_api.py +69 -0
  426. test/test_format.py +40 -0
  427. test/test_format_support.py +40 -0
  428. test/test_format_support_upstream.py +40 -0
  429. test/test_formats_api.py +48 -0
  430. test/test_generic_package_upload.py +40 -0
  431. test/test_generic_package_upload_request.py +40 -0
  432. test/test_generic_upstream.py +40 -0
  433. test/test_generic_upstream_request.py +40 -0
  434. test/test_generic_upstream_request_patch.py +40 -0
  435. test/test_geo_ip_location.py +40 -0
  436. test/test_go_package_upload.py +40 -0
  437. test/test_go_package_upload_request.py +40 -0
  438. test/test_go_upstream.py +40 -0
  439. test/test_go_upstream_request.py +40 -0
  440. test/test_go_upstream_request_patch.py +40 -0
  441. test/test_helm_package_upload.py +40 -0
  442. test/test_helm_package_upload_request.py +40 -0
  443. test/test_helm_upstream.py +40 -0
  444. test/test_helm_upstream_request.py +40 -0
  445. test/test_helm_upstream_request_patch.py +40 -0
  446. test/test_hex_package_upload.py +40 -0
  447. test/test_hex_package_upload_request.py +40 -0
  448. test/test_hex_upstream.py +40 -0
  449. test/test_hex_upstream_request.py +40 -0
  450. test/test_hex_upstream_request_patch.py +40 -0
  451. test/test_history.py +40 -0
  452. test/test_history_fieldset.py +40 -0
  453. test/test_history_fieldset_raw.py +40 -0
  454. test/test_huggingface_package_upload.py +40 -0
  455. test/test_huggingface_package_upload_request.py +40 -0
  456. test/test_huggingface_upstream.py +40 -0
  457. test/test_huggingface_upstream_request.py +40 -0
  458. test/test_huggingface_upstream_request_patch.py +40 -0
  459. test/test_inline_response200.py +40 -0
  460. test/test_inline_response2001.py +40 -0
  461. test/test_inline_response2002.py +40 -0
  462. test/test_inline_response2003.py +40 -0
  463. test/test_inline_response2004.py +40 -0
  464. test/test_luarocks_package_upload.py +40 -0
  465. test/test_luarocks_package_upload_request.py +40 -0
  466. test/test_maven_package_upload.py +40 -0
  467. test/test_maven_package_upload_request.py +40 -0
  468. test/test_maven_upstream.py +40 -0
  469. test/test_maven_upstream_request.py +40 -0
  470. test/test_maven_upstream_request_patch.py +40 -0
  471. test/test_mcp_package_upload.py +40 -0
  472. test/test_mcp_package_upload_request.py +40 -0
  473. test/test_member_teams.py +40 -0
  474. test/test_metrics_api.py +55 -0
  475. test/test_namespace.py +40 -0
  476. test/test_namespace_audit_log.py +40 -0
  477. test/test_namespaces_api.py +48 -0
  478. test/test_nested_license_policy.py +40 -0
  479. test/test_nested_vulnerability_policy.py +40 -0
  480. test/test_nested_vulnerability_scan_results.py +40 -0
  481. test/test_nix_package_upload.py +40 -0
  482. test/test_nix_package_upload_request.py +40 -0
  483. test/test_nix_upstream.py +40 -0
  484. test/test_nix_upstream_request.py +40 -0
  485. test/test_nix_upstream_request_patch.py +40 -0
  486. test/test_npm_package_upload.py +40 -0
  487. test/test_npm_package_upload_request.py +40 -0
  488. test/test_npm_upstream.py +40 -0
  489. test/test_npm_upstream_request.py +40 -0
  490. test/test_npm_upstream_request_patch.py +40 -0
  491. test/test_nuget_package_upload.py +40 -0
  492. test/test_nuget_package_upload_request.py +40 -0
  493. test/test_nuget_upstream.py +40 -0
  494. test/test_nuget_upstream_request.py +40 -0
  495. test/test_nuget_upstream_request_patch.py +40 -0
  496. test/test_oidc.py +40 -0
  497. test/test_oidc1.py +40 -0
  498. test/test_oidc_request.py +40 -0
  499. test/test_openid_api.py +41 -0
  500. test/test_organization.py +40 -0
  501. test/test_organization_custom_domain_nested_repo.py +40 -0
  502. test/test_organization_custom_domains.py +40 -0
  503. test/test_organization_group_sync.py +40 -0
  504. test/test_organization_group_sync_request.py +40 -0
  505. test/test_organization_group_sync_status.py +40 -0
  506. test/test_organization_invite.py +40 -0
  507. test/test_organization_invite_extend.py +40 -0
  508. test/test_organization_invite_request.py +40 -0
  509. test/test_organization_invite_update.py +40 -0
  510. test/test_organization_invite_update_request_patch.py +40 -0
  511. test/test_organization_membership.py +40 -0
  512. test/test_organization_membership_request_patch.py +40 -0
  513. test/test_organization_membership_role_update.py +40 -0
  514. test/test_organization_membership_role_update_request_patch.py +40 -0
  515. test/test_organization_membership_visibility_update.py +40 -0
  516. test/test_organization_membership_visibility_update_request_patch.py +40 -0
  517. test/test_organization_package_license_policy.py +40 -0
  518. test/test_organization_package_license_policy_request.py +40 -0
  519. test/test_organization_package_license_policy_request_patch.py +40 -0
  520. test/test_organization_package_vulnerability_policy.py +40 -0
  521. test/test_organization_package_vulnerability_policy_request.py +40 -0
  522. test/test_organization_package_vulnerability_policy_request_patch.py +40 -0
  523. test/test_organization_saml_auth.py +40 -0
  524. test/test_organization_saml_auth_request_patch.py +40 -0
  525. test/test_organization_team.py +40 -0
  526. test/test_organization_team_invite.py +40 -0
  527. test/test_organization_team_members.py +40 -0
  528. test/test_organization_team_request.py +40 -0
  529. test/test_organization_team_request_patch.py +40 -0
  530. test/test_organization_team_service_member.py +40 -0
  531. test/test_organization_usage.py +40 -0
  532. test/test_organization_usage_update.py +40 -0
  533. test/test_organization_usage_update_request_patch.py +40 -0
  534. test/test_orgs_api.py +564 -0
  535. test/test_p2_package_upload.py +40 -0
  536. test/test_p2_package_upload_request.py +40 -0
  537. test/test_package.py +40 -0
  538. test/test_package_bulk_action.py +40 -0
  539. test/test_package_bulk_action_response.py +40 -0
  540. test/test_package_copy.py +40 -0
  541. test/test_package_copy_request.py +40 -0
  542. test/test_package_deny_policy.py +40 -0
  543. test/test_package_deny_policy_request.py +40 -0
  544. test/test_package_deny_policy_request_patch.py +40 -0
  545. test/test_package_dependencies.py +40 -0
  546. test/test_package_dependency.py +40 -0
  547. test/test_package_detail.py +40 -0
  548. test/test_package_file.py +40 -0
  549. test/test_package_file_parts_upload.py +40 -0
  550. test/test_package_file_upload.py +40 -0
  551. test/test_package_file_upload_request.py +40 -0
  552. test/test_package_group.py +40 -0
  553. test/test_package_license.py +40 -0
  554. test/test_package_license_policy_evaluation_request.py +40 -0
  555. test/test_package_license_policy_evaluation_request_request.py +40 -0
  556. test/test_package_license_policy_violation_log.py +40 -0
  557. test/test_package_license_policy_violation_log_cursor_page.py +40 -0
  558. test/test_package_license_request_patch.py +40 -0
  559. test/test_package_move.py +40 -0
  560. test/test_package_move_request.py +40 -0
  561. test/test_package_quarantine.py +40 -0
  562. test/test_package_quarantine_request.py +40 -0
  563. test/test_package_recycle_bin.py +40 -0
  564. test/test_package_resync.py +40 -0
  565. test/test_package_status.py +40 -0
  566. test/test_package_tag.py +40 -0
  567. test/test_package_tag_request.py +40 -0
  568. test/test_package_usage_metrics.py +40 -0
  569. test/test_package_version_badge.py +40 -0
  570. test/test_package_vulnerability.py +40 -0
  571. test/test_package_vulnerability_policy_evaluation_request.py +40 -0
  572. test/test_package_vulnerability_policy_evaluation_request_request.py +40 -0
  573. test/test_package_vulnerability_policy_violation_log.py +40 -0
  574. test/test_package_vulnerability_policy_violation_log_cursor_page.py +40 -0
  575. test/test_packages_api.py +545 -0
  576. test/test_provider_settings.py +40 -0
  577. test/test_provider_settings_write.py +40 -0
  578. test/test_provider_settings_write_request.py +40 -0
  579. test/test_provider_settings_write_request_patch.py +40 -0
  580. test/test_python_package_upload.py +40 -0
  581. test/test_python_package_upload_request.py +40 -0
  582. test/test_python_upstream.py +40 -0
  583. test/test_python_upstream_request.py +40 -0
  584. test/test_python_upstream_request_patch.py +40 -0
  585. test/test_quota.py +40 -0
  586. test/test_quota_api.py +62 -0
  587. test/test_quota_history.py +40 -0
  588. test/test_rate_check.py +40 -0
  589. test/test_rates_api.py +41 -0
  590. test/test_raw_package_upload.py +40 -0
  591. test/test_raw_package_upload_request.py +40 -0
  592. test/test_recycle_bin_api.py +47 -0
  593. test/test_recycle_bin_package.py +40 -0
  594. test/test_repos_api.py +1188 -0
  595. test/test_repository.py +40 -0
  596. test/test_repository_audit_log.py +40 -0
  597. test/test_repository_create.py +40 -0
  598. test/test_repository_create_request.py +40 -0
  599. test/test_repository_ecdsa_key.py +40 -0
  600. test/test_repository_ecdsa_key_create.py +40 -0
  601. test/test_repository_ed25519_key.py +40 -0
  602. test/test_repository_ed25519_key_create.py +40 -0
  603. test/test_repository_geo_ip_cidr.py +40 -0
  604. test/test_repository_geo_ip_country_code.py +40 -0
  605. test/test_repository_geo_ip_rules.py +40 -0
  606. test/test_repository_geo_ip_rules_request.py +40 -0
  607. test/test_repository_geo_ip_rules_request_patch.py +40 -0
  608. test/test_repository_geo_ip_status.py +40 -0
  609. test/test_repository_geo_ip_test_address.py +40 -0
  610. test/test_repository_geo_ip_test_address_response.py +40 -0
  611. test/test_repository_geo_ip_test_address_response_dict.py +40 -0
  612. test/test_repository_gpg_key.py +40 -0
  613. test/test_repository_gpg_key_create.py +40 -0
  614. test/test_repository_privilege_dict.py +40 -0
  615. test/test_repository_privilege_input.py +40 -0
  616. test/test_repository_privilege_input_request.py +40 -0
  617. test/test_repository_privilege_input_request_patch.py +40 -0
  618. test/test_repository_request_patch.py +40 -0
  619. test/test_repository_retention_rules.py +40 -0
  620. test/test_repository_retention_rules_request_patch.py +40 -0
  621. test/test_repository_rsa_key.py +40 -0
  622. test/test_repository_rsa_key_create.py +40 -0
  623. test/test_repository_token.py +40 -0
  624. test/test_repository_token_action.py +40 -0
  625. test/test_repository_token_private_broadcasts.py +40 -0
  626. test/test_repository_token_private_broadcasts_request.py +40 -0
  627. test/test_repository_token_refresh.py +40 -0
  628. test/test_repository_token_refresh_request.py +40 -0
  629. test/test_repository_token_request.py +40 -0
  630. test/test_repository_token_request_patch.py +40 -0
  631. test/test_repository_token_sync.py +40 -0
  632. test/test_repository_token_sync_request.py +40 -0
  633. test/test_repository_transfer_region.py +40 -0
  634. test/test_repository_transfer_region_request.py +40 -0
  635. test/test_repository_webhook.py +40 -0
  636. test/test_repository_webhook_request.py +40 -0
  637. test/test_repository_webhook_request_patch.py +40 -0
  638. test/test_repository_x509_ecdsa_certificate.py +40 -0
  639. test/test_repository_x509_rsa_certificate.py +40 -0
  640. test/test_resources_rate_check.py +40 -0
  641. test/test_respository_geo_ip_enable_disable.py +40 -0
  642. test/test_respository_geo_ip_enable_disable_request.py +40 -0
  643. test/test_rpm_package_upload.py +40 -0
  644. test/test_rpm_package_upload_request.py +40 -0
  645. test/test_rpm_upstream.py +40 -0
  646. test/test_rpm_upstream_request.py +40 -0
  647. test/test_rpm_upstream_request_patch.py +40 -0
  648. test/test_ruby_package_upload.py +40 -0
  649. test/test_ruby_package_upload_request.py +40 -0
  650. test/test_ruby_upstream.py +40 -0
  651. test/test_ruby_upstream_request.py +40 -0
  652. test/test_ruby_upstream_request_patch.py +40 -0
  653. test/test_service.py +40 -0
  654. test/test_service_request.py +40 -0
  655. test/test_service_request_patch.py +40 -0
  656. test/test_service_teams.py +40 -0
  657. test/test_status_api.py +41 -0
  658. test/test_status_basic.py +40 -0
  659. test/test_storage_allocated_limit.py +40 -0
  660. test/test_storage_allocated_limit_raw.py +40 -0
  661. test/test_storage_region.py +40 -0
  662. test/test_storage_regions_api.py +48 -0
  663. test/test_storage_usage.py +40 -0
  664. test/test_storage_usage_raw.py +40 -0
  665. test/test_swift_package_upload.py +40 -0
  666. test/test_swift_package_upload_request.py +40 -0
  667. test/test_swift_upstream.py +40 -0
  668. test/test_swift_upstream_request.py +40 -0
  669. test/test_swift_upstream_request_patch.py +40 -0
  670. test/test_tags.py +40 -0
  671. test/test_terraform_package_upload.py +40 -0
  672. test/test_terraform_package_upload_request.py +40 -0
  673. test/test_usage.py +40 -0
  674. test/test_usage_fieldset.py +40 -0
  675. test/test_usage_limits.py +40 -0
  676. test/test_usage_limits_raw.py +40 -0
  677. test/test_usage_raw.py +40 -0
  678. test/test_user_api.py +69 -0
  679. test/test_user_auth_token.py +40 -0
  680. test/test_user_auth_token_request.py +40 -0
  681. test/test_user_authentication_token.py +40 -0
  682. test/test_user_brief.py +40 -0
  683. test/test_user_profile.py +40 -0
  684. test/test_users_api.py +41 -0
  685. test/test_vagrant_package_upload.py +40 -0
  686. test/test_vagrant_package_upload_request.py +40 -0
  687. test/test_vsx_package_upload.py +40 -0
  688. test/test_vsx_package_upload_request.py +40 -0
  689. test/test_vulnerabilities_api.py +62 -0
  690. test/test_vulnerability.py +40 -0
  691. test/test_vulnerability_scan.py +40 -0
  692. test/test_vulnerability_scan_results.py +40 -0
  693. test/test_vulnerability_scan_results_list.py +40 -0
  694. test/test_vulnerability_scan_version.py +40 -0
  695. test/test_web_osv_severity_counts.py +40 -0
  696. test/test_webhook_template.py +40 -0
  697. test/test_webhooks_api.py +69 -0
@@ -0,0 +1,2600 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Cloudsmith API (v1)
5
+
6
+ The API to the Cloudsmith Service # noqa: E501
7
+
8
+ OpenAPI spec version: v1
9
+ Contact: support@cloudsmith.io
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from cloudsmith_api.configuration import Configuration
20
+
21
+
22
+ class VagrantPackageUpload(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ 'architectures': 'list[Architecture]',
37
+ 'cdn_url': 'str',
38
+ 'checksum_md5': 'str',
39
+ 'checksum_sha1': 'str',
40
+ 'checksum_sha256': 'str',
41
+ 'checksum_sha512': 'str',
42
+ 'dependencies_checksum_md5': 'str',
43
+ 'dependencies_url': 'str',
44
+ 'description': 'str',
45
+ 'display_name': 'str',
46
+ 'distro': 'Distribution',
47
+ 'distro_version': 'DistributionVersion',
48
+ 'downloads': 'int',
49
+ 'epoch': 'int',
50
+ 'extension': 'str',
51
+ 'filename': 'str',
52
+ 'files': 'list[PackageFile]',
53
+ 'format': 'str',
54
+ 'format_url': 'str',
55
+ 'freeable_storage': 'int',
56
+ 'fully_qualified_name': 'str',
57
+ 'identifier_perm': 'str',
58
+ 'identifiers': 'dict(str, str)',
59
+ 'indexed': 'bool',
60
+ 'is_cancellable': 'bool',
61
+ 'is_copyable': 'bool',
62
+ 'is_deleteable': 'bool',
63
+ 'is_downloadable': 'bool',
64
+ 'is_hidden': 'bool',
65
+ 'is_malware_detected': 'bool',
66
+ 'is_moveable': 'bool',
67
+ 'is_quarantinable': 'bool',
68
+ 'is_quarantined': 'bool',
69
+ 'is_resyncable': 'bool',
70
+ 'is_security_scannable': 'bool',
71
+ 'is_sync_awaiting': 'bool',
72
+ 'is_sync_completed': 'bool',
73
+ 'is_sync_failed': 'bool',
74
+ 'is_sync_in_flight': 'bool',
75
+ 'is_sync_in_progress': 'bool',
76
+ 'license': 'str',
77
+ 'name': 'str',
78
+ 'namespace': 'str',
79
+ 'namespace_url': 'str',
80
+ 'num_files': 'int',
81
+ 'origin_repository': 'str',
82
+ 'origin_repository_url': 'str',
83
+ 'osi_approved': 'bool',
84
+ 'package_type': 'int',
85
+ 'policy_violated': 'bool',
86
+ 'provider': 'str',
87
+ 'raw_license': 'str',
88
+ 'release': 'str',
89
+ 'repository': 'str',
90
+ 'repository_url': 'str',
91
+ 'security_scan_completed_at': 'datetime',
92
+ 'security_scan_started_at': 'datetime',
93
+ 'security_scan_status': 'str',
94
+ 'security_scan_status_updated_at': 'datetime',
95
+ 'self_html_url': 'str',
96
+ 'self_url': 'str',
97
+ 'self_webapp_url': 'str',
98
+ 'signature_url': 'str',
99
+ 'size': 'int',
100
+ 'slug': 'str',
101
+ 'slug_perm': 'str',
102
+ 'spdx_license': 'str',
103
+ 'stage': 'int',
104
+ 'stage_str': 'str',
105
+ 'stage_updated_at': 'datetime',
106
+ 'status': 'int',
107
+ 'status_reason': 'str',
108
+ 'status_str': 'str',
109
+ 'status_updated_at': 'datetime',
110
+ 'status_url': 'str',
111
+ 'store_path': 'str',
112
+ 'subtype': 'str',
113
+ 'summary': 'str',
114
+ 'sync_finished_at': 'datetime',
115
+ 'sync_progress': 'int',
116
+ 'tags_automatic': 'Tags',
117
+ 'tags_immutable': 'Tags',
118
+ 'tags_static': 'dict(str, list[str])',
119
+ 'type_display': 'str',
120
+ 'uploaded_at': 'datetime',
121
+ 'uploader': 'str',
122
+ 'uploader_url': 'str',
123
+ 'version': 'str',
124
+ 'version_orig': 'str',
125
+ 'vulnerability_counts': 'WebOSVSeverityCounts',
126
+ 'vulnerability_scan_results_url': 'str'
127
+ }
128
+
129
+ attribute_map = {
130
+ 'architectures': 'architectures',
131
+ 'cdn_url': 'cdn_url',
132
+ 'checksum_md5': 'checksum_md5',
133
+ 'checksum_sha1': 'checksum_sha1',
134
+ 'checksum_sha256': 'checksum_sha256',
135
+ 'checksum_sha512': 'checksum_sha512',
136
+ 'dependencies_checksum_md5': 'dependencies_checksum_md5',
137
+ 'dependencies_url': 'dependencies_url',
138
+ 'description': 'description',
139
+ 'display_name': 'display_name',
140
+ 'distro': 'distro',
141
+ 'distro_version': 'distro_version',
142
+ 'downloads': 'downloads',
143
+ 'epoch': 'epoch',
144
+ 'extension': 'extension',
145
+ 'filename': 'filename',
146
+ 'files': 'files',
147
+ 'format': 'format',
148
+ 'format_url': 'format_url',
149
+ 'freeable_storage': 'freeable_storage',
150
+ 'fully_qualified_name': 'fully_qualified_name',
151
+ 'identifier_perm': 'identifier_perm',
152
+ 'identifiers': 'identifiers',
153
+ 'indexed': 'indexed',
154
+ 'is_cancellable': 'is_cancellable',
155
+ 'is_copyable': 'is_copyable',
156
+ 'is_deleteable': 'is_deleteable',
157
+ 'is_downloadable': 'is_downloadable',
158
+ 'is_hidden': 'is_hidden',
159
+ 'is_malware_detected': 'is_malware_detected',
160
+ 'is_moveable': 'is_moveable',
161
+ 'is_quarantinable': 'is_quarantinable',
162
+ 'is_quarantined': 'is_quarantined',
163
+ 'is_resyncable': 'is_resyncable',
164
+ 'is_security_scannable': 'is_security_scannable',
165
+ 'is_sync_awaiting': 'is_sync_awaiting',
166
+ 'is_sync_completed': 'is_sync_completed',
167
+ 'is_sync_failed': 'is_sync_failed',
168
+ 'is_sync_in_flight': 'is_sync_in_flight',
169
+ 'is_sync_in_progress': 'is_sync_in_progress',
170
+ 'license': 'license',
171
+ 'name': 'name',
172
+ 'namespace': 'namespace',
173
+ 'namespace_url': 'namespace_url',
174
+ 'num_files': 'num_files',
175
+ 'origin_repository': 'origin_repository',
176
+ 'origin_repository_url': 'origin_repository_url',
177
+ 'osi_approved': 'osi_approved',
178
+ 'package_type': 'package_type',
179
+ 'policy_violated': 'policy_violated',
180
+ 'provider': 'provider',
181
+ 'raw_license': 'raw_license',
182
+ 'release': 'release',
183
+ 'repository': 'repository',
184
+ 'repository_url': 'repository_url',
185
+ 'security_scan_completed_at': 'security_scan_completed_at',
186
+ 'security_scan_started_at': 'security_scan_started_at',
187
+ 'security_scan_status': 'security_scan_status',
188
+ 'security_scan_status_updated_at': 'security_scan_status_updated_at',
189
+ 'self_html_url': 'self_html_url',
190
+ 'self_url': 'self_url',
191
+ 'self_webapp_url': 'self_webapp_url',
192
+ 'signature_url': 'signature_url',
193
+ 'size': 'size',
194
+ 'slug': 'slug',
195
+ 'slug_perm': 'slug_perm',
196
+ 'spdx_license': 'spdx_license',
197
+ 'stage': 'stage',
198
+ 'stage_str': 'stage_str',
199
+ 'stage_updated_at': 'stage_updated_at',
200
+ 'status': 'status',
201
+ 'status_reason': 'status_reason',
202
+ 'status_str': 'status_str',
203
+ 'status_updated_at': 'status_updated_at',
204
+ 'status_url': 'status_url',
205
+ 'store_path': 'store_path',
206
+ 'subtype': 'subtype',
207
+ 'summary': 'summary',
208
+ 'sync_finished_at': 'sync_finished_at',
209
+ 'sync_progress': 'sync_progress',
210
+ 'tags_automatic': 'tags_automatic',
211
+ 'tags_immutable': 'tags_immutable',
212
+ 'tags_static': 'tags_static',
213
+ 'type_display': 'type_display',
214
+ 'uploaded_at': 'uploaded_at',
215
+ 'uploader': 'uploader',
216
+ 'uploader_url': 'uploader_url',
217
+ 'version': 'version',
218
+ 'version_orig': 'version_orig',
219
+ 'vulnerability_counts': 'vulnerability_counts',
220
+ 'vulnerability_scan_results_url': 'vulnerability_scan_results_url'
221
+ }
222
+
223
+ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_hidden=None, is_malware_detected=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, osi_approved=None, package_type=None, policy_violated=None, provider=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, self_webapp_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, store_path=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, tags_static=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_counts=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501
224
+ """VagrantPackageUpload - a model defined in Swagger""" # noqa: E501
225
+ if _configuration is None:
226
+ _configuration = Configuration()
227
+ self._configuration = _configuration
228
+
229
+ self._architectures = None
230
+ self._cdn_url = None
231
+ self._checksum_md5 = None
232
+ self._checksum_sha1 = None
233
+ self._checksum_sha256 = None
234
+ self._checksum_sha512 = None
235
+ self._dependencies_checksum_md5 = None
236
+ self._dependencies_url = None
237
+ self._description = None
238
+ self._display_name = None
239
+ self._distro = None
240
+ self._distro_version = None
241
+ self._downloads = None
242
+ self._epoch = None
243
+ self._extension = None
244
+ self._filename = None
245
+ self._files = None
246
+ self._format = None
247
+ self._format_url = None
248
+ self._freeable_storage = None
249
+ self._fully_qualified_name = None
250
+ self._identifier_perm = None
251
+ self._identifiers = None
252
+ self._indexed = None
253
+ self._is_cancellable = None
254
+ self._is_copyable = None
255
+ self._is_deleteable = None
256
+ self._is_downloadable = None
257
+ self._is_hidden = None
258
+ self._is_malware_detected = None
259
+ self._is_moveable = None
260
+ self._is_quarantinable = None
261
+ self._is_quarantined = None
262
+ self._is_resyncable = None
263
+ self._is_security_scannable = None
264
+ self._is_sync_awaiting = None
265
+ self._is_sync_completed = None
266
+ self._is_sync_failed = None
267
+ self._is_sync_in_flight = None
268
+ self._is_sync_in_progress = None
269
+ self._license = None
270
+ self._name = None
271
+ self._namespace = None
272
+ self._namespace_url = None
273
+ self._num_files = None
274
+ self._origin_repository = None
275
+ self._origin_repository_url = None
276
+ self._osi_approved = None
277
+ self._package_type = None
278
+ self._policy_violated = None
279
+ self._provider = None
280
+ self._raw_license = None
281
+ self._release = None
282
+ self._repository = None
283
+ self._repository_url = None
284
+ self._security_scan_completed_at = None
285
+ self._security_scan_started_at = None
286
+ self._security_scan_status = None
287
+ self._security_scan_status_updated_at = None
288
+ self._self_html_url = None
289
+ self._self_url = None
290
+ self._self_webapp_url = None
291
+ self._signature_url = None
292
+ self._size = None
293
+ self._slug = None
294
+ self._slug_perm = None
295
+ self._spdx_license = None
296
+ self._stage = None
297
+ self._stage_str = None
298
+ self._stage_updated_at = None
299
+ self._status = None
300
+ self._status_reason = None
301
+ self._status_str = None
302
+ self._status_updated_at = None
303
+ self._status_url = None
304
+ self._store_path = None
305
+ self._subtype = None
306
+ self._summary = None
307
+ self._sync_finished_at = None
308
+ self._sync_progress = None
309
+ self._tags_automatic = None
310
+ self._tags_immutable = None
311
+ self._tags_static = None
312
+ self._type_display = None
313
+ self._uploaded_at = None
314
+ self._uploader = None
315
+ self._uploader_url = None
316
+ self._version = None
317
+ self._version_orig = None
318
+ self._vulnerability_counts = None
319
+ self._vulnerability_scan_results_url = None
320
+ self.discriminator = None
321
+
322
+ if architectures is not None:
323
+ self.architectures = architectures
324
+ if cdn_url is not None:
325
+ self.cdn_url = cdn_url
326
+ if checksum_md5 is not None:
327
+ self.checksum_md5 = checksum_md5
328
+ if checksum_sha1 is not None:
329
+ self.checksum_sha1 = checksum_sha1
330
+ if checksum_sha256 is not None:
331
+ self.checksum_sha256 = checksum_sha256
332
+ if checksum_sha512 is not None:
333
+ self.checksum_sha512 = checksum_sha512
334
+ if dependencies_checksum_md5 is not None:
335
+ self.dependencies_checksum_md5 = dependencies_checksum_md5
336
+ if dependencies_url is not None:
337
+ self.dependencies_url = dependencies_url
338
+ if description is not None:
339
+ self.description = description
340
+ if display_name is not None:
341
+ self.display_name = display_name
342
+ if distro is not None:
343
+ self.distro = distro
344
+ if distro_version is not None:
345
+ self.distro_version = distro_version
346
+ if downloads is not None:
347
+ self.downloads = downloads
348
+ if epoch is not None:
349
+ self.epoch = epoch
350
+ if extension is not None:
351
+ self.extension = extension
352
+ if filename is not None:
353
+ self.filename = filename
354
+ if files is not None:
355
+ self.files = files
356
+ if format is not None:
357
+ self.format = format
358
+ if format_url is not None:
359
+ self.format_url = format_url
360
+ if freeable_storage is not None:
361
+ self.freeable_storage = freeable_storage
362
+ if fully_qualified_name is not None:
363
+ self.fully_qualified_name = fully_qualified_name
364
+ if identifier_perm is not None:
365
+ self.identifier_perm = identifier_perm
366
+ if identifiers is not None:
367
+ self.identifiers = identifiers
368
+ if indexed is not None:
369
+ self.indexed = indexed
370
+ if is_cancellable is not None:
371
+ self.is_cancellable = is_cancellable
372
+ if is_copyable is not None:
373
+ self.is_copyable = is_copyable
374
+ if is_deleteable is not None:
375
+ self.is_deleteable = is_deleteable
376
+ if is_downloadable is not None:
377
+ self.is_downloadable = is_downloadable
378
+ if is_hidden is not None:
379
+ self.is_hidden = is_hidden
380
+ if is_malware_detected is not None:
381
+ self.is_malware_detected = is_malware_detected
382
+ if is_moveable is not None:
383
+ self.is_moveable = is_moveable
384
+ if is_quarantinable is not None:
385
+ self.is_quarantinable = is_quarantinable
386
+ if is_quarantined is not None:
387
+ self.is_quarantined = is_quarantined
388
+ if is_resyncable is not None:
389
+ self.is_resyncable = is_resyncable
390
+ if is_security_scannable is not None:
391
+ self.is_security_scannable = is_security_scannable
392
+ if is_sync_awaiting is not None:
393
+ self.is_sync_awaiting = is_sync_awaiting
394
+ if is_sync_completed is not None:
395
+ self.is_sync_completed = is_sync_completed
396
+ if is_sync_failed is not None:
397
+ self.is_sync_failed = is_sync_failed
398
+ if is_sync_in_flight is not None:
399
+ self.is_sync_in_flight = is_sync_in_flight
400
+ if is_sync_in_progress is not None:
401
+ self.is_sync_in_progress = is_sync_in_progress
402
+ if license is not None:
403
+ self.license = license
404
+ self.name = name
405
+ if namespace is not None:
406
+ self.namespace = namespace
407
+ if namespace_url is not None:
408
+ self.namespace_url = namespace_url
409
+ if num_files is not None:
410
+ self.num_files = num_files
411
+ if origin_repository is not None:
412
+ self.origin_repository = origin_repository
413
+ if origin_repository_url is not None:
414
+ self.origin_repository_url = origin_repository_url
415
+ if osi_approved is not None:
416
+ self.osi_approved = osi_approved
417
+ if package_type is not None:
418
+ self.package_type = package_type
419
+ if policy_violated is not None:
420
+ self.policy_violated = policy_violated
421
+ self.provider = provider
422
+ if raw_license is not None:
423
+ self.raw_license = raw_license
424
+ if release is not None:
425
+ self.release = release
426
+ if repository is not None:
427
+ self.repository = repository
428
+ if repository_url is not None:
429
+ self.repository_url = repository_url
430
+ if security_scan_completed_at is not None:
431
+ self.security_scan_completed_at = security_scan_completed_at
432
+ if security_scan_started_at is not None:
433
+ self.security_scan_started_at = security_scan_started_at
434
+ if security_scan_status is not None:
435
+ self.security_scan_status = security_scan_status
436
+ if security_scan_status_updated_at is not None:
437
+ self.security_scan_status_updated_at = security_scan_status_updated_at
438
+ if self_html_url is not None:
439
+ self.self_html_url = self_html_url
440
+ if self_url is not None:
441
+ self.self_url = self_url
442
+ if self_webapp_url is not None:
443
+ self.self_webapp_url = self_webapp_url
444
+ if signature_url is not None:
445
+ self.signature_url = signature_url
446
+ if size is not None:
447
+ self.size = size
448
+ if slug is not None:
449
+ self.slug = slug
450
+ if slug_perm is not None:
451
+ self.slug_perm = slug_perm
452
+ if spdx_license is not None:
453
+ self.spdx_license = spdx_license
454
+ if stage is not None:
455
+ self.stage = stage
456
+ if stage_str is not None:
457
+ self.stage_str = stage_str
458
+ if stage_updated_at is not None:
459
+ self.stage_updated_at = stage_updated_at
460
+ if status is not None:
461
+ self.status = status
462
+ if status_reason is not None:
463
+ self.status_reason = status_reason
464
+ if status_str is not None:
465
+ self.status_str = status_str
466
+ if status_updated_at is not None:
467
+ self.status_updated_at = status_updated_at
468
+ if status_url is not None:
469
+ self.status_url = status_url
470
+ if store_path is not None:
471
+ self.store_path = store_path
472
+ if subtype is not None:
473
+ self.subtype = subtype
474
+ if summary is not None:
475
+ self.summary = summary
476
+ if sync_finished_at is not None:
477
+ self.sync_finished_at = sync_finished_at
478
+ if sync_progress is not None:
479
+ self.sync_progress = sync_progress
480
+ if tags_automatic is not None:
481
+ self.tags_automatic = tags_automatic
482
+ if tags_immutable is not None:
483
+ self.tags_immutable = tags_immutable
484
+ if tags_static is not None:
485
+ self.tags_static = tags_static
486
+ if type_display is not None:
487
+ self.type_display = type_display
488
+ if uploaded_at is not None:
489
+ self.uploaded_at = uploaded_at
490
+ if uploader is not None:
491
+ self.uploader = uploader
492
+ if uploader_url is not None:
493
+ self.uploader_url = uploader_url
494
+ self.version = version
495
+ if version_orig is not None:
496
+ self.version_orig = version_orig
497
+ if vulnerability_counts is not None:
498
+ self.vulnerability_counts = vulnerability_counts
499
+ if vulnerability_scan_results_url is not None:
500
+ self.vulnerability_scan_results_url = vulnerability_scan_results_url
501
+
502
+ @property
503
+ def architectures(self):
504
+ """Gets the architectures of this VagrantPackageUpload.
505
+
506
+
507
+ :return: The architectures of this VagrantPackageUpload.
508
+ :rtype: list[Architecture]
509
+ """
510
+ return self._architectures
511
+
512
+ @architectures.setter
513
+ def architectures(self, architectures):
514
+ """Sets the architectures of this VagrantPackageUpload.
515
+
516
+
517
+ :param architectures: The architectures of this VagrantPackageUpload.
518
+ :type: list[Architecture]
519
+ """
520
+
521
+ self._architectures = architectures
522
+
523
+ @property
524
+ def cdn_url(self):
525
+ """Gets the cdn_url of this VagrantPackageUpload.
526
+
527
+
528
+ :return: The cdn_url of this VagrantPackageUpload.
529
+ :rtype: str
530
+ """
531
+ return self._cdn_url
532
+
533
+ @cdn_url.setter
534
+ def cdn_url(self, cdn_url):
535
+ """Sets the cdn_url of this VagrantPackageUpload.
536
+
537
+
538
+ :param cdn_url: The cdn_url of this VagrantPackageUpload.
539
+ :type: str
540
+ """
541
+
542
+ self._cdn_url = cdn_url
543
+
544
+ @property
545
+ def checksum_md5(self):
546
+ """Gets the checksum_md5 of this VagrantPackageUpload.
547
+
548
+
549
+ :return: The checksum_md5 of this VagrantPackageUpload.
550
+ :rtype: str
551
+ """
552
+ return self._checksum_md5
553
+
554
+ @checksum_md5.setter
555
+ def checksum_md5(self, checksum_md5):
556
+ """Sets the checksum_md5 of this VagrantPackageUpload.
557
+
558
+
559
+ :param checksum_md5: The checksum_md5 of this VagrantPackageUpload.
560
+ :type: str
561
+ """
562
+
563
+ self._checksum_md5 = checksum_md5
564
+
565
+ @property
566
+ def checksum_sha1(self):
567
+ """Gets the checksum_sha1 of this VagrantPackageUpload.
568
+
569
+
570
+ :return: The checksum_sha1 of this VagrantPackageUpload.
571
+ :rtype: str
572
+ """
573
+ return self._checksum_sha1
574
+
575
+ @checksum_sha1.setter
576
+ def checksum_sha1(self, checksum_sha1):
577
+ """Sets the checksum_sha1 of this VagrantPackageUpload.
578
+
579
+
580
+ :param checksum_sha1: The checksum_sha1 of this VagrantPackageUpload.
581
+ :type: str
582
+ """
583
+
584
+ self._checksum_sha1 = checksum_sha1
585
+
586
+ @property
587
+ def checksum_sha256(self):
588
+ """Gets the checksum_sha256 of this VagrantPackageUpload.
589
+
590
+
591
+ :return: The checksum_sha256 of this VagrantPackageUpload.
592
+ :rtype: str
593
+ """
594
+ return self._checksum_sha256
595
+
596
+ @checksum_sha256.setter
597
+ def checksum_sha256(self, checksum_sha256):
598
+ """Sets the checksum_sha256 of this VagrantPackageUpload.
599
+
600
+
601
+ :param checksum_sha256: The checksum_sha256 of this VagrantPackageUpload.
602
+ :type: str
603
+ """
604
+
605
+ self._checksum_sha256 = checksum_sha256
606
+
607
+ @property
608
+ def checksum_sha512(self):
609
+ """Gets the checksum_sha512 of this VagrantPackageUpload.
610
+
611
+
612
+ :return: The checksum_sha512 of this VagrantPackageUpload.
613
+ :rtype: str
614
+ """
615
+ return self._checksum_sha512
616
+
617
+ @checksum_sha512.setter
618
+ def checksum_sha512(self, checksum_sha512):
619
+ """Sets the checksum_sha512 of this VagrantPackageUpload.
620
+
621
+
622
+ :param checksum_sha512: The checksum_sha512 of this VagrantPackageUpload.
623
+ :type: str
624
+ """
625
+
626
+ self._checksum_sha512 = checksum_sha512
627
+
628
+ @property
629
+ def dependencies_checksum_md5(self):
630
+ """Gets the dependencies_checksum_md5 of this VagrantPackageUpload.
631
+
632
+ A checksum of all of the package's dependencies.
633
+
634
+ :return: The dependencies_checksum_md5 of this VagrantPackageUpload.
635
+ :rtype: str
636
+ """
637
+ return self._dependencies_checksum_md5
638
+
639
+ @dependencies_checksum_md5.setter
640
+ def dependencies_checksum_md5(self, dependencies_checksum_md5):
641
+ """Sets the dependencies_checksum_md5 of this VagrantPackageUpload.
642
+
643
+ A checksum of all of the package's dependencies.
644
+
645
+ :param dependencies_checksum_md5: The dependencies_checksum_md5 of this VagrantPackageUpload.
646
+ :type: str
647
+ """
648
+
649
+ self._dependencies_checksum_md5 = dependencies_checksum_md5
650
+
651
+ @property
652
+ def dependencies_url(self):
653
+ """Gets the dependencies_url of this VagrantPackageUpload.
654
+
655
+
656
+ :return: The dependencies_url of this VagrantPackageUpload.
657
+ :rtype: str
658
+ """
659
+ return self._dependencies_url
660
+
661
+ @dependencies_url.setter
662
+ def dependencies_url(self, dependencies_url):
663
+ """Sets the dependencies_url of this VagrantPackageUpload.
664
+
665
+
666
+ :param dependencies_url: The dependencies_url of this VagrantPackageUpload.
667
+ :type: str
668
+ """
669
+
670
+ self._dependencies_url = dependencies_url
671
+
672
+ @property
673
+ def description(self):
674
+ """Gets the description of this VagrantPackageUpload.
675
+
676
+ A textual description of this package.
677
+
678
+ :return: The description of this VagrantPackageUpload.
679
+ :rtype: str
680
+ """
681
+ return self._description
682
+
683
+ @description.setter
684
+ def description(self, description):
685
+ """Sets the description of this VagrantPackageUpload.
686
+
687
+ A textual description of this package.
688
+
689
+ :param description: The description of this VagrantPackageUpload.
690
+ :type: str
691
+ """
692
+
693
+ self._description = description
694
+
695
+ @property
696
+ def display_name(self):
697
+ """Gets the display_name of this VagrantPackageUpload.
698
+
699
+
700
+ :return: The display_name of this VagrantPackageUpload.
701
+ :rtype: str
702
+ """
703
+ return self._display_name
704
+
705
+ @display_name.setter
706
+ def display_name(self, display_name):
707
+ """Sets the display_name of this VagrantPackageUpload.
708
+
709
+
710
+ :param display_name: The display_name of this VagrantPackageUpload.
711
+ :type: str
712
+ """
713
+
714
+ self._display_name = display_name
715
+
716
+ @property
717
+ def distro(self):
718
+ """Gets the distro of this VagrantPackageUpload.
719
+
720
+
721
+ :return: The distro of this VagrantPackageUpload.
722
+ :rtype: Distribution
723
+ """
724
+ return self._distro
725
+
726
+ @distro.setter
727
+ def distro(self, distro):
728
+ """Sets the distro of this VagrantPackageUpload.
729
+
730
+
731
+ :param distro: The distro of this VagrantPackageUpload.
732
+ :type: Distribution
733
+ """
734
+
735
+ self._distro = distro
736
+
737
+ @property
738
+ def distro_version(self):
739
+ """Gets the distro_version of this VagrantPackageUpload.
740
+
741
+
742
+ :return: The distro_version of this VagrantPackageUpload.
743
+ :rtype: DistributionVersion
744
+ """
745
+ return self._distro_version
746
+
747
+ @distro_version.setter
748
+ def distro_version(self, distro_version):
749
+ """Sets the distro_version of this VagrantPackageUpload.
750
+
751
+
752
+ :param distro_version: The distro_version of this VagrantPackageUpload.
753
+ :type: DistributionVersion
754
+ """
755
+
756
+ self._distro_version = distro_version
757
+
758
+ @property
759
+ def downloads(self):
760
+ """Gets the downloads of this VagrantPackageUpload.
761
+
762
+
763
+ :return: The downloads of this VagrantPackageUpload.
764
+ :rtype: int
765
+ """
766
+ return self._downloads
767
+
768
+ @downloads.setter
769
+ def downloads(self, downloads):
770
+ """Sets the downloads of this VagrantPackageUpload.
771
+
772
+
773
+ :param downloads: The downloads of this VagrantPackageUpload.
774
+ :type: int
775
+ """
776
+
777
+ self._downloads = downloads
778
+
779
+ @property
780
+ def epoch(self):
781
+ """Gets the epoch of this VagrantPackageUpload.
782
+
783
+ The epoch of the package version (if any).
784
+
785
+ :return: The epoch of this VagrantPackageUpload.
786
+ :rtype: int
787
+ """
788
+ return self._epoch
789
+
790
+ @epoch.setter
791
+ def epoch(self, epoch):
792
+ """Sets the epoch of this VagrantPackageUpload.
793
+
794
+ The epoch of the package version (if any).
795
+
796
+ :param epoch: The epoch of this VagrantPackageUpload.
797
+ :type: int
798
+ """
799
+
800
+ self._epoch = epoch
801
+
802
+ @property
803
+ def extension(self):
804
+ """Gets the extension of this VagrantPackageUpload.
805
+
806
+
807
+ :return: The extension of this VagrantPackageUpload.
808
+ :rtype: str
809
+ """
810
+ return self._extension
811
+
812
+ @extension.setter
813
+ def extension(self, extension):
814
+ """Sets the extension of this VagrantPackageUpload.
815
+
816
+
817
+ :param extension: The extension of this VagrantPackageUpload.
818
+ :type: str
819
+ """
820
+
821
+ self._extension = extension
822
+
823
+ @property
824
+ def filename(self):
825
+ """Gets the filename of this VagrantPackageUpload.
826
+
827
+
828
+ :return: The filename of this VagrantPackageUpload.
829
+ :rtype: str
830
+ """
831
+ return self._filename
832
+
833
+ @filename.setter
834
+ def filename(self, filename):
835
+ """Sets the filename of this VagrantPackageUpload.
836
+
837
+
838
+ :param filename: The filename of this VagrantPackageUpload.
839
+ :type: str
840
+ """
841
+ if (self._configuration.client_side_validation and
842
+ filename is not None and len(filename) < 1):
843
+ raise ValueError("Invalid value for `filename`, length must be greater than or equal to `1`") # noqa: E501
844
+
845
+ self._filename = filename
846
+
847
+ @property
848
+ def files(self):
849
+ """Gets the files of this VagrantPackageUpload.
850
+
851
+
852
+ :return: The files of this VagrantPackageUpload.
853
+ :rtype: list[PackageFile]
854
+ """
855
+ return self._files
856
+
857
+ @files.setter
858
+ def files(self, files):
859
+ """Sets the files of this VagrantPackageUpload.
860
+
861
+
862
+ :param files: The files of this VagrantPackageUpload.
863
+ :type: list[PackageFile]
864
+ """
865
+
866
+ self._files = files
867
+
868
+ @property
869
+ def format(self):
870
+ """Gets the format of this VagrantPackageUpload.
871
+
872
+
873
+ :return: The format of this VagrantPackageUpload.
874
+ :rtype: str
875
+ """
876
+ return self._format
877
+
878
+ @format.setter
879
+ def format(self, format):
880
+ """Sets the format of this VagrantPackageUpload.
881
+
882
+
883
+ :param format: The format of this VagrantPackageUpload.
884
+ :type: str
885
+ """
886
+ if (self._configuration.client_side_validation and
887
+ format is not None and len(format) < 1):
888
+ raise ValueError("Invalid value for `format`, length must be greater than or equal to `1`") # noqa: E501
889
+
890
+ self._format = format
891
+
892
+ @property
893
+ def format_url(self):
894
+ """Gets the format_url of this VagrantPackageUpload.
895
+
896
+
897
+ :return: The format_url of this VagrantPackageUpload.
898
+ :rtype: str
899
+ """
900
+ return self._format_url
901
+
902
+ @format_url.setter
903
+ def format_url(self, format_url):
904
+ """Sets the format_url of this VagrantPackageUpload.
905
+
906
+
907
+ :param format_url: The format_url of this VagrantPackageUpload.
908
+ :type: str
909
+ """
910
+
911
+ self._format_url = format_url
912
+
913
+ @property
914
+ def freeable_storage(self):
915
+ """Gets the freeable_storage of this VagrantPackageUpload.
916
+
917
+ Amount of storage that will be freed if this package is deleted
918
+
919
+ :return: The freeable_storage of this VagrantPackageUpload.
920
+ :rtype: int
921
+ """
922
+ return self._freeable_storage
923
+
924
+ @freeable_storage.setter
925
+ def freeable_storage(self, freeable_storage):
926
+ """Sets the freeable_storage of this VagrantPackageUpload.
927
+
928
+ Amount of storage that will be freed if this package is deleted
929
+
930
+ :param freeable_storage: The freeable_storage of this VagrantPackageUpload.
931
+ :type: int
932
+ """
933
+
934
+ self._freeable_storage = freeable_storage
935
+
936
+ @property
937
+ def fully_qualified_name(self):
938
+ """Gets the fully_qualified_name of this VagrantPackageUpload.
939
+
940
+
941
+ :return: The fully_qualified_name of this VagrantPackageUpload.
942
+ :rtype: str
943
+ """
944
+ return self._fully_qualified_name
945
+
946
+ @fully_qualified_name.setter
947
+ def fully_qualified_name(self, fully_qualified_name):
948
+ """Sets the fully_qualified_name of this VagrantPackageUpload.
949
+
950
+
951
+ :param fully_qualified_name: The fully_qualified_name of this VagrantPackageUpload.
952
+ :type: str
953
+ """
954
+ if (self._configuration.client_side_validation and
955
+ fully_qualified_name is not None and len(fully_qualified_name) < 1):
956
+ raise ValueError("Invalid value for `fully_qualified_name`, length must be greater than or equal to `1`") # noqa: E501
957
+
958
+ self._fully_qualified_name = fully_qualified_name
959
+
960
+ @property
961
+ def identifier_perm(self):
962
+ """Gets the identifier_perm of this VagrantPackageUpload.
963
+
964
+ Unique and permanent identifier for the package.
965
+
966
+ :return: The identifier_perm of this VagrantPackageUpload.
967
+ :rtype: str
968
+ """
969
+ return self._identifier_perm
970
+
971
+ @identifier_perm.setter
972
+ def identifier_perm(self, identifier_perm):
973
+ """Sets the identifier_perm of this VagrantPackageUpload.
974
+
975
+ Unique and permanent identifier for the package.
976
+
977
+ :param identifier_perm: The identifier_perm of this VagrantPackageUpload.
978
+ :type: str
979
+ """
980
+ if (self._configuration.client_side_validation and
981
+ identifier_perm is not None and len(identifier_perm) < 1):
982
+ raise ValueError("Invalid value for `identifier_perm`, length must be greater than or equal to `1`") # noqa: E501
983
+
984
+ self._identifier_perm = identifier_perm
985
+
986
+ @property
987
+ def identifiers(self):
988
+ """Gets the identifiers of this VagrantPackageUpload.
989
+
990
+ Return a map of identifier field names and their values.
991
+
992
+ :return: The identifiers of this VagrantPackageUpload.
993
+ :rtype: dict(str, str)
994
+ """
995
+ return self._identifiers
996
+
997
+ @identifiers.setter
998
+ def identifiers(self, identifiers):
999
+ """Sets the identifiers of this VagrantPackageUpload.
1000
+
1001
+ Return a map of identifier field names and their values.
1002
+
1003
+ :param identifiers: The identifiers of this VagrantPackageUpload.
1004
+ :type: dict(str, str)
1005
+ """
1006
+
1007
+ self._identifiers = identifiers
1008
+
1009
+ @property
1010
+ def indexed(self):
1011
+ """Gets the indexed of this VagrantPackageUpload.
1012
+
1013
+
1014
+ :return: The indexed of this VagrantPackageUpload.
1015
+ :rtype: bool
1016
+ """
1017
+ return self._indexed
1018
+
1019
+ @indexed.setter
1020
+ def indexed(self, indexed):
1021
+ """Sets the indexed of this VagrantPackageUpload.
1022
+
1023
+
1024
+ :param indexed: The indexed of this VagrantPackageUpload.
1025
+ :type: bool
1026
+ """
1027
+
1028
+ self._indexed = indexed
1029
+
1030
+ @property
1031
+ def is_cancellable(self):
1032
+ """Gets the is_cancellable of this VagrantPackageUpload.
1033
+
1034
+
1035
+ :return: The is_cancellable of this VagrantPackageUpload.
1036
+ :rtype: bool
1037
+ """
1038
+ return self._is_cancellable
1039
+
1040
+ @is_cancellable.setter
1041
+ def is_cancellable(self, is_cancellable):
1042
+ """Sets the is_cancellable of this VagrantPackageUpload.
1043
+
1044
+
1045
+ :param is_cancellable: The is_cancellable of this VagrantPackageUpload.
1046
+ :type: bool
1047
+ """
1048
+
1049
+ self._is_cancellable = is_cancellable
1050
+
1051
+ @property
1052
+ def is_copyable(self):
1053
+ """Gets the is_copyable of this VagrantPackageUpload.
1054
+
1055
+
1056
+ :return: The is_copyable of this VagrantPackageUpload.
1057
+ :rtype: bool
1058
+ """
1059
+ return self._is_copyable
1060
+
1061
+ @is_copyable.setter
1062
+ def is_copyable(self, is_copyable):
1063
+ """Sets the is_copyable of this VagrantPackageUpload.
1064
+
1065
+
1066
+ :param is_copyable: The is_copyable of this VagrantPackageUpload.
1067
+ :type: bool
1068
+ """
1069
+
1070
+ self._is_copyable = is_copyable
1071
+
1072
+ @property
1073
+ def is_deleteable(self):
1074
+ """Gets the is_deleteable of this VagrantPackageUpload.
1075
+
1076
+
1077
+ :return: The is_deleteable of this VagrantPackageUpload.
1078
+ :rtype: bool
1079
+ """
1080
+ return self._is_deleteable
1081
+
1082
+ @is_deleteable.setter
1083
+ def is_deleteable(self, is_deleteable):
1084
+ """Sets the is_deleteable of this VagrantPackageUpload.
1085
+
1086
+
1087
+ :param is_deleteable: The is_deleteable of this VagrantPackageUpload.
1088
+ :type: bool
1089
+ """
1090
+
1091
+ self._is_deleteable = is_deleteable
1092
+
1093
+ @property
1094
+ def is_downloadable(self):
1095
+ """Gets the is_downloadable of this VagrantPackageUpload.
1096
+
1097
+
1098
+ :return: The is_downloadable of this VagrantPackageUpload.
1099
+ :rtype: bool
1100
+ """
1101
+ return self._is_downloadable
1102
+
1103
+ @is_downloadable.setter
1104
+ def is_downloadable(self, is_downloadable):
1105
+ """Sets the is_downloadable of this VagrantPackageUpload.
1106
+
1107
+
1108
+ :param is_downloadable: The is_downloadable of this VagrantPackageUpload.
1109
+ :type: bool
1110
+ """
1111
+
1112
+ self._is_downloadable = is_downloadable
1113
+
1114
+ @property
1115
+ def is_hidden(self):
1116
+ """Gets the is_hidden of this VagrantPackageUpload.
1117
+
1118
+
1119
+ :return: The is_hidden of this VagrantPackageUpload.
1120
+ :rtype: bool
1121
+ """
1122
+ return self._is_hidden
1123
+
1124
+ @is_hidden.setter
1125
+ def is_hidden(self, is_hidden):
1126
+ """Sets the is_hidden of this VagrantPackageUpload.
1127
+
1128
+
1129
+ :param is_hidden: The is_hidden of this VagrantPackageUpload.
1130
+ :type: bool
1131
+ """
1132
+
1133
+ self._is_hidden = is_hidden
1134
+
1135
+ @property
1136
+ def is_malware_detected(self):
1137
+ """Gets the is_malware_detected of this VagrantPackageUpload.
1138
+
1139
+ Whether the package has been detected as containing malware. Requires Ultra plan.
1140
+
1141
+ :return: The is_malware_detected of this VagrantPackageUpload.
1142
+ :rtype: bool
1143
+ """
1144
+ return self._is_malware_detected
1145
+
1146
+ @is_malware_detected.setter
1147
+ def is_malware_detected(self, is_malware_detected):
1148
+ """Sets the is_malware_detected of this VagrantPackageUpload.
1149
+
1150
+ Whether the package has been detected as containing malware. Requires Ultra plan.
1151
+
1152
+ :param is_malware_detected: The is_malware_detected of this VagrantPackageUpload.
1153
+ :type: bool
1154
+ """
1155
+
1156
+ self._is_malware_detected = is_malware_detected
1157
+
1158
+ @property
1159
+ def is_moveable(self):
1160
+ """Gets the is_moveable of this VagrantPackageUpload.
1161
+
1162
+
1163
+ :return: The is_moveable of this VagrantPackageUpload.
1164
+ :rtype: bool
1165
+ """
1166
+ return self._is_moveable
1167
+
1168
+ @is_moveable.setter
1169
+ def is_moveable(self, is_moveable):
1170
+ """Sets the is_moveable of this VagrantPackageUpload.
1171
+
1172
+
1173
+ :param is_moveable: The is_moveable of this VagrantPackageUpload.
1174
+ :type: bool
1175
+ """
1176
+
1177
+ self._is_moveable = is_moveable
1178
+
1179
+ @property
1180
+ def is_quarantinable(self):
1181
+ """Gets the is_quarantinable of this VagrantPackageUpload.
1182
+
1183
+
1184
+ :return: The is_quarantinable of this VagrantPackageUpload.
1185
+ :rtype: bool
1186
+ """
1187
+ return self._is_quarantinable
1188
+
1189
+ @is_quarantinable.setter
1190
+ def is_quarantinable(self, is_quarantinable):
1191
+ """Sets the is_quarantinable of this VagrantPackageUpload.
1192
+
1193
+
1194
+ :param is_quarantinable: The is_quarantinable of this VagrantPackageUpload.
1195
+ :type: bool
1196
+ """
1197
+
1198
+ self._is_quarantinable = is_quarantinable
1199
+
1200
+ @property
1201
+ def is_quarantined(self):
1202
+ """Gets the is_quarantined of this VagrantPackageUpload.
1203
+
1204
+
1205
+ :return: The is_quarantined of this VagrantPackageUpload.
1206
+ :rtype: bool
1207
+ """
1208
+ return self._is_quarantined
1209
+
1210
+ @is_quarantined.setter
1211
+ def is_quarantined(self, is_quarantined):
1212
+ """Sets the is_quarantined of this VagrantPackageUpload.
1213
+
1214
+
1215
+ :param is_quarantined: The is_quarantined of this VagrantPackageUpload.
1216
+ :type: bool
1217
+ """
1218
+
1219
+ self._is_quarantined = is_quarantined
1220
+
1221
+ @property
1222
+ def is_resyncable(self):
1223
+ """Gets the is_resyncable of this VagrantPackageUpload.
1224
+
1225
+
1226
+ :return: The is_resyncable of this VagrantPackageUpload.
1227
+ :rtype: bool
1228
+ """
1229
+ return self._is_resyncable
1230
+
1231
+ @is_resyncable.setter
1232
+ def is_resyncable(self, is_resyncable):
1233
+ """Sets the is_resyncable of this VagrantPackageUpload.
1234
+
1235
+
1236
+ :param is_resyncable: The is_resyncable of this VagrantPackageUpload.
1237
+ :type: bool
1238
+ """
1239
+
1240
+ self._is_resyncable = is_resyncable
1241
+
1242
+ @property
1243
+ def is_security_scannable(self):
1244
+ """Gets the is_security_scannable of this VagrantPackageUpload.
1245
+
1246
+
1247
+ :return: The is_security_scannable of this VagrantPackageUpload.
1248
+ :rtype: bool
1249
+ """
1250
+ return self._is_security_scannable
1251
+
1252
+ @is_security_scannable.setter
1253
+ def is_security_scannable(self, is_security_scannable):
1254
+ """Sets the is_security_scannable of this VagrantPackageUpload.
1255
+
1256
+
1257
+ :param is_security_scannable: The is_security_scannable of this VagrantPackageUpload.
1258
+ :type: bool
1259
+ """
1260
+
1261
+ self._is_security_scannable = is_security_scannable
1262
+
1263
+ @property
1264
+ def is_sync_awaiting(self):
1265
+ """Gets the is_sync_awaiting of this VagrantPackageUpload.
1266
+
1267
+
1268
+ :return: The is_sync_awaiting of this VagrantPackageUpload.
1269
+ :rtype: bool
1270
+ """
1271
+ return self._is_sync_awaiting
1272
+
1273
+ @is_sync_awaiting.setter
1274
+ def is_sync_awaiting(self, is_sync_awaiting):
1275
+ """Sets the is_sync_awaiting of this VagrantPackageUpload.
1276
+
1277
+
1278
+ :param is_sync_awaiting: The is_sync_awaiting of this VagrantPackageUpload.
1279
+ :type: bool
1280
+ """
1281
+
1282
+ self._is_sync_awaiting = is_sync_awaiting
1283
+
1284
+ @property
1285
+ def is_sync_completed(self):
1286
+ """Gets the is_sync_completed of this VagrantPackageUpload.
1287
+
1288
+
1289
+ :return: The is_sync_completed of this VagrantPackageUpload.
1290
+ :rtype: bool
1291
+ """
1292
+ return self._is_sync_completed
1293
+
1294
+ @is_sync_completed.setter
1295
+ def is_sync_completed(self, is_sync_completed):
1296
+ """Sets the is_sync_completed of this VagrantPackageUpload.
1297
+
1298
+
1299
+ :param is_sync_completed: The is_sync_completed of this VagrantPackageUpload.
1300
+ :type: bool
1301
+ """
1302
+
1303
+ self._is_sync_completed = is_sync_completed
1304
+
1305
+ @property
1306
+ def is_sync_failed(self):
1307
+ """Gets the is_sync_failed of this VagrantPackageUpload.
1308
+
1309
+
1310
+ :return: The is_sync_failed of this VagrantPackageUpload.
1311
+ :rtype: bool
1312
+ """
1313
+ return self._is_sync_failed
1314
+
1315
+ @is_sync_failed.setter
1316
+ def is_sync_failed(self, is_sync_failed):
1317
+ """Sets the is_sync_failed of this VagrantPackageUpload.
1318
+
1319
+
1320
+ :param is_sync_failed: The is_sync_failed of this VagrantPackageUpload.
1321
+ :type: bool
1322
+ """
1323
+
1324
+ self._is_sync_failed = is_sync_failed
1325
+
1326
+ @property
1327
+ def is_sync_in_flight(self):
1328
+ """Gets the is_sync_in_flight of this VagrantPackageUpload.
1329
+
1330
+
1331
+ :return: The is_sync_in_flight of this VagrantPackageUpload.
1332
+ :rtype: bool
1333
+ """
1334
+ return self._is_sync_in_flight
1335
+
1336
+ @is_sync_in_flight.setter
1337
+ def is_sync_in_flight(self, is_sync_in_flight):
1338
+ """Sets the is_sync_in_flight of this VagrantPackageUpload.
1339
+
1340
+
1341
+ :param is_sync_in_flight: The is_sync_in_flight of this VagrantPackageUpload.
1342
+ :type: bool
1343
+ """
1344
+
1345
+ self._is_sync_in_flight = is_sync_in_flight
1346
+
1347
+ @property
1348
+ def is_sync_in_progress(self):
1349
+ """Gets the is_sync_in_progress of this VagrantPackageUpload.
1350
+
1351
+
1352
+ :return: The is_sync_in_progress of this VagrantPackageUpload.
1353
+ :rtype: bool
1354
+ """
1355
+ return self._is_sync_in_progress
1356
+
1357
+ @is_sync_in_progress.setter
1358
+ def is_sync_in_progress(self, is_sync_in_progress):
1359
+ """Sets the is_sync_in_progress of this VagrantPackageUpload.
1360
+
1361
+
1362
+ :param is_sync_in_progress: The is_sync_in_progress of this VagrantPackageUpload.
1363
+ :type: bool
1364
+ """
1365
+
1366
+ self._is_sync_in_progress = is_sync_in_progress
1367
+
1368
+ @property
1369
+ def license(self):
1370
+ """Gets the license of this VagrantPackageUpload.
1371
+
1372
+ The license of this package.
1373
+
1374
+ :return: The license of this VagrantPackageUpload.
1375
+ :rtype: str
1376
+ """
1377
+ return self._license
1378
+
1379
+ @license.setter
1380
+ def license(self, license):
1381
+ """Sets the license of this VagrantPackageUpload.
1382
+
1383
+ The license of this package.
1384
+
1385
+ :param license: The license of this VagrantPackageUpload.
1386
+ :type: str
1387
+ """
1388
+
1389
+ self._license = license
1390
+
1391
+ @property
1392
+ def name(self):
1393
+ """Gets the name of this VagrantPackageUpload.
1394
+
1395
+ The name of this package.
1396
+
1397
+ :return: The name of this VagrantPackageUpload.
1398
+ :rtype: str
1399
+ """
1400
+ return self._name
1401
+
1402
+ @name.setter
1403
+ def name(self, name):
1404
+ """Sets the name of this VagrantPackageUpload.
1405
+
1406
+ The name of this package.
1407
+
1408
+ :param name: The name of this VagrantPackageUpload.
1409
+ :type: str
1410
+ """
1411
+ if self._configuration.client_side_validation and name is None:
1412
+ raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
1413
+ if (self._configuration.client_side_validation and
1414
+ name is not None and len(name) > 200):
1415
+ raise ValueError("Invalid value for `name`, length must be less than or equal to `200`") # noqa: E501
1416
+
1417
+ self._name = name
1418
+
1419
+ @property
1420
+ def namespace(self):
1421
+ """Gets the namespace of this VagrantPackageUpload.
1422
+
1423
+
1424
+ :return: The namespace of this VagrantPackageUpload.
1425
+ :rtype: str
1426
+ """
1427
+ return self._namespace
1428
+
1429
+ @namespace.setter
1430
+ def namespace(self, namespace):
1431
+ """Sets the namespace of this VagrantPackageUpload.
1432
+
1433
+
1434
+ :param namespace: The namespace of this VagrantPackageUpload.
1435
+ :type: str
1436
+ """
1437
+ if (self._configuration.client_side_validation and
1438
+ namespace is not None and len(namespace) < 1):
1439
+ raise ValueError("Invalid value for `namespace`, length must be greater than or equal to `1`") # noqa: E501
1440
+
1441
+ self._namespace = namespace
1442
+
1443
+ @property
1444
+ def namespace_url(self):
1445
+ """Gets the namespace_url of this VagrantPackageUpload.
1446
+
1447
+
1448
+ :return: The namespace_url of this VagrantPackageUpload.
1449
+ :rtype: str
1450
+ """
1451
+ return self._namespace_url
1452
+
1453
+ @namespace_url.setter
1454
+ def namespace_url(self, namespace_url):
1455
+ """Sets the namespace_url of this VagrantPackageUpload.
1456
+
1457
+
1458
+ :param namespace_url: The namespace_url of this VagrantPackageUpload.
1459
+ :type: str
1460
+ """
1461
+
1462
+ self._namespace_url = namespace_url
1463
+
1464
+ @property
1465
+ def num_files(self):
1466
+ """Gets the num_files of this VagrantPackageUpload.
1467
+
1468
+
1469
+ :return: The num_files of this VagrantPackageUpload.
1470
+ :rtype: int
1471
+ """
1472
+ return self._num_files
1473
+
1474
+ @num_files.setter
1475
+ def num_files(self, num_files):
1476
+ """Sets the num_files of this VagrantPackageUpload.
1477
+
1478
+
1479
+ :param num_files: The num_files of this VagrantPackageUpload.
1480
+ :type: int
1481
+ """
1482
+
1483
+ self._num_files = num_files
1484
+
1485
+ @property
1486
+ def origin_repository(self):
1487
+ """Gets the origin_repository of this VagrantPackageUpload.
1488
+
1489
+
1490
+ :return: The origin_repository of this VagrantPackageUpload.
1491
+ :rtype: str
1492
+ """
1493
+ return self._origin_repository
1494
+
1495
+ @origin_repository.setter
1496
+ def origin_repository(self, origin_repository):
1497
+ """Sets the origin_repository of this VagrantPackageUpload.
1498
+
1499
+
1500
+ :param origin_repository: The origin_repository of this VagrantPackageUpload.
1501
+ :type: str
1502
+ """
1503
+ if (self._configuration.client_side_validation and
1504
+ origin_repository is not None and len(origin_repository) < 1):
1505
+ raise ValueError("Invalid value for `origin_repository`, length must be greater than or equal to `1`") # noqa: E501
1506
+
1507
+ self._origin_repository = origin_repository
1508
+
1509
+ @property
1510
+ def origin_repository_url(self):
1511
+ """Gets the origin_repository_url of this VagrantPackageUpload.
1512
+
1513
+
1514
+ :return: The origin_repository_url of this VagrantPackageUpload.
1515
+ :rtype: str
1516
+ """
1517
+ return self._origin_repository_url
1518
+
1519
+ @origin_repository_url.setter
1520
+ def origin_repository_url(self, origin_repository_url):
1521
+ """Sets the origin_repository_url of this VagrantPackageUpload.
1522
+
1523
+
1524
+ :param origin_repository_url: The origin_repository_url of this VagrantPackageUpload.
1525
+ :type: str
1526
+ """
1527
+
1528
+ self._origin_repository_url = origin_repository_url
1529
+
1530
+ @property
1531
+ def osi_approved(self):
1532
+ """Gets the osi_approved of this VagrantPackageUpload.
1533
+
1534
+ Whether the package's SPDX license is OSI-approved.
1535
+
1536
+ :return: The osi_approved of this VagrantPackageUpload.
1537
+ :rtype: bool
1538
+ """
1539
+ return self._osi_approved
1540
+
1541
+ @osi_approved.setter
1542
+ def osi_approved(self, osi_approved):
1543
+ """Sets the osi_approved of this VagrantPackageUpload.
1544
+
1545
+ Whether the package's SPDX license is OSI-approved.
1546
+
1547
+ :param osi_approved: The osi_approved of this VagrantPackageUpload.
1548
+ :type: bool
1549
+ """
1550
+
1551
+ self._osi_approved = osi_approved
1552
+
1553
+ @property
1554
+ def package_type(self):
1555
+ """Gets the package_type of this VagrantPackageUpload.
1556
+
1557
+ The type of package contents.
1558
+
1559
+ :return: The package_type of this VagrantPackageUpload.
1560
+ :rtype: int
1561
+ """
1562
+ return self._package_type
1563
+
1564
+ @package_type.setter
1565
+ def package_type(self, package_type):
1566
+ """Sets the package_type of this VagrantPackageUpload.
1567
+
1568
+ The type of package contents.
1569
+
1570
+ :param package_type: The package_type of this VagrantPackageUpload.
1571
+ :type: int
1572
+ """
1573
+
1574
+ self._package_type = package_type
1575
+
1576
+ @property
1577
+ def policy_violated(self):
1578
+ """Gets the policy_violated of this VagrantPackageUpload.
1579
+
1580
+ Whether or not the package has violated any policy.
1581
+
1582
+ :return: The policy_violated of this VagrantPackageUpload.
1583
+ :rtype: bool
1584
+ """
1585
+ return self._policy_violated
1586
+
1587
+ @policy_violated.setter
1588
+ def policy_violated(self, policy_violated):
1589
+ """Sets the policy_violated of this VagrantPackageUpload.
1590
+
1591
+ Whether or not the package has violated any policy.
1592
+
1593
+ :param policy_violated: The policy_violated of this VagrantPackageUpload.
1594
+ :type: bool
1595
+ """
1596
+
1597
+ self._policy_violated = policy_violated
1598
+
1599
+ @property
1600
+ def provider(self):
1601
+ """Gets the provider of this VagrantPackageUpload.
1602
+
1603
+ The virtual machine provider for the box.
1604
+
1605
+ :return: The provider of this VagrantPackageUpload.
1606
+ :rtype: str
1607
+ """
1608
+ return self._provider
1609
+
1610
+ @provider.setter
1611
+ def provider(self, provider):
1612
+ """Sets the provider of this VagrantPackageUpload.
1613
+
1614
+ The virtual machine provider for the box.
1615
+
1616
+ :param provider: The provider of this VagrantPackageUpload.
1617
+ :type: str
1618
+ """
1619
+ if self._configuration.client_side_validation and provider is None:
1620
+ raise ValueError("Invalid value for `provider`, must not be `None`") # noqa: E501
1621
+ if (self._configuration.client_side_validation and
1622
+ provider is not None and len(provider) < 1):
1623
+ raise ValueError("Invalid value for `provider`, length must be greater than or equal to `1`") # noqa: E501
1624
+
1625
+ self._provider = provider
1626
+
1627
+ @property
1628
+ def raw_license(self):
1629
+ """Gets the raw_license of this VagrantPackageUpload.
1630
+
1631
+ The raw license string.
1632
+
1633
+ :return: The raw_license of this VagrantPackageUpload.
1634
+ :rtype: str
1635
+ """
1636
+ return self._raw_license
1637
+
1638
+ @raw_license.setter
1639
+ def raw_license(self, raw_license):
1640
+ """Sets the raw_license of this VagrantPackageUpload.
1641
+
1642
+ The raw license string.
1643
+
1644
+ :param raw_license: The raw_license of this VagrantPackageUpload.
1645
+ :type: str
1646
+ """
1647
+ if (self._configuration.client_side_validation and
1648
+ raw_license is not None and len(raw_license) < 1):
1649
+ raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501
1650
+
1651
+ self._raw_license = raw_license
1652
+
1653
+ @property
1654
+ def release(self):
1655
+ """Gets the release of this VagrantPackageUpload.
1656
+
1657
+ The release of the package version (if any).
1658
+
1659
+ :return: The release of this VagrantPackageUpload.
1660
+ :rtype: str
1661
+ """
1662
+ return self._release
1663
+
1664
+ @release.setter
1665
+ def release(self, release):
1666
+ """Sets the release of this VagrantPackageUpload.
1667
+
1668
+ The release of the package version (if any).
1669
+
1670
+ :param release: The release of this VagrantPackageUpload.
1671
+ :type: str
1672
+ """
1673
+
1674
+ self._release = release
1675
+
1676
+ @property
1677
+ def repository(self):
1678
+ """Gets the repository of this VagrantPackageUpload.
1679
+
1680
+
1681
+ :return: The repository of this VagrantPackageUpload.
1682
+ :rtype: str
1683
+ """
1684
+ return self._repository
1685
+
1686
+ @repository.setter
1687
+ def repository(self, repository):
1688
+ """Sets the repository of this VagrantPackageUpload.
1689
+
1690
+
1691
+ :param repository: The repository of this VagrantPackageUpload.
1692
+ :type: str
1693
+ """
1694
+ if (self._configuration.client_side_validation and
1695
+ repository is not None and len(repository) < 1):
1696
+ raise ValueError("Invalid value for `repository`, length must be greater than or equal to `1`") # noqa: E501
1697
+
1698
+ self._repository = repository
1699
+
1700
+ @property
1701
+ def repository_url(self):
1702
+ """Gets the repository_url of this VagrantPackageUpload.
1703
+
1704
+
1705
+ :return: The repository_url of this VagrantPackageUpload.
1706
+ :rtype: str
1707
+ """
1708
+ return self._repository_url
1709
+
1710
+ @repository_url.setter
1711
+ def repository_url(self, repository_url):
1712
+ """Sets the repository_url of this VagrantPackageUpload.
1713
+
1714
+
1715
+ :param repository_url: The repository_url of this VagrantPackageUpload.
1716
+ :type: str
1717
+ """
1718
+
1719
+ self._repository_url = repository_url
1720
+
1721
+ @property
1722
+ def security_scan_completed_at(self):
1723
+ """Gets the security_scan_completed_at of this VagrantPackageUpload.
1724
+
1725
+ The datetime the security scanning was completed.
1726
+
1727
+ :return: The security_scan_completed_at of this VagrantPackageUpload.
1728
+ :rtype: datetime
1729
+ """
1730
+ return self._security_scan_completed_at
1731
+
1732
+ @security_scan_completed_at.setter
1733
+ def security_scan_completed_at(self, security_scan_completed_at):
1734
+ """Sets the security_scan_completed_at of this VagrantPackageUpload.
1735
+
1736
+ The datetime the security scanning was completed.
1737
+
1738
+ :param security_scan_completed_at: The security_scan_completed_at of this VagrantPackageUpload.
1739
+ :type: datetime
1740
+ """
1741
+
1742
+ self._security_scan_completed_at = security_scan_completed_at
1743
+
1744
+ @property
1745
+ def security_scan_started_at(self):
1746
+ """Gets the security_scan_started_at of this VagrantPackageUpload.
1747
+
1748
+ The datetime the security scanning was started.
1749
+
1750
+ :return: The security_scan_started_at of this VagrantPackageUpload.
1751
+ :rtype: datetime
1752
+ """
1753
+ return self._security_scan_started_at
1754
+
1755
+ @security_scan_started_at.setter
1756
+ def security_scan_started_at(self, security_scan_started_at):
1757
+ """Sets the security_scan_started_at of this VagrantPackageUpload.
1758
+
1759
+ The datetime the security scanning was started.
1760
+
1761
+ :param security_scan_started_at: The security_scan_started_at of this VagrantPackageUpload.
1762
+ :type: datetime
1763
+ """
1764
+
1765
+ self._security_scan_started_at = security_scan_started_at
1766
+
1767
+ @property
1768
+ def security_scan_status(self):
1769
+ """Gets the security_scan_status of this VagrantPackageUpload.
1770
+
1771
+
1772
+ :return: The security_scan_status of this VagrantPackageUpload.
1773
+ :rtype: str
1774
+ """
1775
+ return self._security_scan_status
1776
+
1777
+ @security_scan_status.setter
1778
+ def security_scan_status(self, security_scan_status):
1779
+ """Sets the security_scan_status of this VagrantPackageUpload.
1780
+
1781
+
1782
+ :param security_scan_status: The security_scan_status of this VagrantPackageUpload.
1783
+ :type: str
1784
+ """
1785
+ allowed_values = ["Awaiting Security Scan", "Security Scanning in Progress", "Scan Detected Vulnerabilities", "Scan Detected No Vulnerabilities", "Security Scanning Disabled", "Security Scanning Failed", "Security Scanning Skipped", "Security Scanning Not Supported"] # noqa: E501
1786
+ if (self._configuration.client_side_validation and
1787
+ security_scan_status not in allowed_values):
1788
+ raise ValueError(
1789
+ "Invalid value for `security_scan_status` ({0}), must be one of {1}" # noqa: E501
1790
+ .format(security_scan_status, allowed_values)
1791
+ )
1792
+
1793
+ self._security_scan_status = security_scan_status
1794
+
1795
+ @property
1796
+ def security_scan_status_updated_at(self):
1797
+ """Gets the security_scan_status_updated_at of this VagrantPackageUpload.
1798
+
1799
+ The datetime the security scanning status was updated.
1800
+
1801
+ :return: The security_scan_status_updated_at of this VagrantPackageUpload.
1802
+ :rtype: datetime
1803
+ """
1804
+ return self._security_scan_status_updated_at
1805
+
1806
+ @security_scan_status_updated_at.setter
1807
+ def security_scan_status_updated_at(self, security_scan_status_updated_at):
1808
+ """Sets the security_scan_status_updated_at of this VagrantPackageUpload.
1809
+
1810
+ The datetime the security scanning status was updated.
1811
+
1812
+ :param security_scan_status_updated_at: The security_scan_status_updated_at of this VagrantPackageUpload.
1813
+ :type: datetime
1814
+ """
1815
+
1816
+ self._security_scan_status_updated_at = security_scan_status_updated_at
1817
+
1818
+ @property
1819
+ def self_html_url(self):
1820
+ """Gets the self_html_url of this VagrantPackageUpload.
1821
+
1822
+
1823
+ :return: The self_html_url of this VagrantPackageUpload.
1824
+ :rtype: str
1825
+ """
1826
+ return self._self_html_url
1827
+
1828
+ @self_html_url.setter
1829
+ def self_html_url(self, self_html_url):
1830
+ """Sets the self_html_url of this VagrantPackageUpload.
1831
+
1832
+
1833
+ :param self_html_url: The self_html_url of this VagrantPackageUpload.
1834
+ :type: str
1835
+ """
1836
+ if (self._configuration.client_side_validation and
1837
+ self_html_url is not None and len(self_html_url) < 1):
1838
+ raise ValueError("Invalid value for `self_html_url`, length must be greater than or equal to `1`") # noqa: E501
1839
+
1840
+ self._self_html_url = self_html_url
1841
+
1842
+ @property
1843
+ def self_url(self):
1844
+ """Gets the self_url of this VagrantPackageUpload.
1845
+
1846
+
1847
+ :return: The self_url of this VagrantPackageUpload.
1848
+ :rtype: str
1849
+ """
1850
+ return self._self_url
1851
+
1852
+ @self_url.setter
1853
+ def self_url(self, self_url):
1854
+ """Sets the self_url of this VagrantPackageUpload.
1855
+
1856
+
1857
+ :param self_url: The self_url of this VagrantPackageUpload.
1858
+ :type: str
1859
+ """
1860
+
1861
+ self._self_url = self_url
1862
+
1863
+ @property
1864
+ def self_webapp_url(self):
1865
+ """Gets the self_webapp_url of this VagrantPackageUpload.
1866
+
1867
+
1868
+ :return: The self_webapp_url of this VagrantPackageUpload.
1869
+ :rtype: str
1870
+ """
1871
+ return self._self_webapp_url
1872
+
1873
+ @self_webapp_url.setter
1874
+ def self_webapp_url(self, self_webapp_url):
1875
+ """Sets the self_webapp_url of this VagrantPackageUpload.
1876
+
1877
+
1878
+ :param self_webapp_url: The self_webapp_url of this VagrantPackageUpload.
1879
+ :type: str
1880
+ """
1881
+ if (self._configuration.client_side_validation and
1882
+ self_webapp_url is not None and len(self_webapp_url) < 1):
1883
+ raise ValueError("Invalid value for `self_webapp_url`, length must be greater than or equal to `1`") # noqa: E501
1884
+
1885
+ self._self_webapp_url = self_webapp_url
1886
+
1887
+ @property
1888
+ def signature_url(self):
1889
+ """Gets the signature_url of this VagrantPackageUpload.
1890
+
1891
+
1892
+ :return: The signature_url of this VagrantPackageUpload.
1893
+ :rtype: str
1894
+ """
1895
+ return self._signature_url
1896
+
1897
+ @signature_url.setter
1898
+ def signature_url(self, signature_url):
1899
+ """Sets the signature_url of this VagrantPackageUpload.
1900
+
1901
+
1902
+ :param signature_url: The signature_url of this VagrantPackageUpload.
1903
+ :type: str
1904
+ """
1905
+
1906
+ self._signature_url = signature_url
1907
+
1908
+ @property
1909
+ def size(self):
1910
+ """Gets the size of this VagrantPackageUpload.
1911
+
1912
+ The calculated size of the package.
1913
+
1914
+ :return: The size of this VagrantPackageUpload.
1915
+ :rtype: int
1916
+ """
1917
+ return self._size
1918
+
1919
+ @size.setter
1920
+ def size(self, size):
1921
+ """Sets the size of this VagrantPackageUpload.
1922
+
1923
+ The calculated size of the package.
1924
+
1925
+ :param size: The size of this VagrantPackageUpload.
1926
+ :type: int
1927
+ """
1928
+
1929
+ self._size = size
1930
+
1931
+ @property
1932
+ def slug(self):
1933
+ """Gets the slug of this VagrantPackageUpload.
1934
+
1935
+ The public unique identifier for the package.
1936
+
1937
+ :return: The slug of this VagrantPackageUpload.
1938
+ :rtype: str
1939
+ """
1940
+ return self._slug
1941
+
1942
+ @slug.setter
1943
+ def slug(self, slug):
1944
+ """Sets the slug of this VagrantPackageUpload.
1945
+
1946
+ The public unique identifier for the package.
1947
+
1948
+ :param slug: The slug of this VagrantPackageUpload.
1949
+ :type: str
1950
+ """
1951
+ if (self._configuration.client_side_validation and
1952
+ slug is not None and len(slug) < 1):
1953
+ raise ValueError("Invalid value for `slug`, length must be greater than or equal to `1`") # noqa: E501
1954
+ if (self._configuration.client_side_validation and
1955
+ slug is not None and not re.search('^[-a-zA-Z0-9_]+$', slug)): # noqa: E501
1956
+ raise ValueError(r"Invalid value for `slug`, must be a follow pattern or equal to `/^[-a-zA-Z0-9_]+$/`") # noqa: E501
1957
+
1958
+ self._slug = slug
1959
+
1960
+ @property
1961
+ def slug_perm(self):
1962
+ """Gets the slug_perm of this VagrantPackageUpload.
1963
+
1964
+
1965
+ :return: The slug_perm of this VagrantPackageUpload.
1966
+ :rtype: str
1967
+ """
1968
+ return self._slug_perm
1969
+
1970
+ @slug_perm.setter
1971
+ def slug_perm(self, slug_perm):
1972
+ """Sets the slug_perm of this VagrantPackageUpload.
1973
+
1974
+
1975
+ :param slug_perm: The slug_perm of this VagrantPackageUpload.
1976
+ :type: str
1977
+ """
1978
+ if (self._configuration.client_side_validation and
1979
+ slug_perm is not None and len(slug_perm) < 1):
1980
+ raise ValueError("Invalid value for `slug_perm`, length must be greater than or equal to `1`") # noqa: E501
1981
+ if (self._configuration.client_side_validation and
1982
+ slug_perm is not None and not re.search('^[-a-zA-Z0-9_]+$', slug_perm)): # noqa: E501
1983
+ raise ValueError(r"Invalid value for `slug_perm`, must be a follow pattern or equal to `/^[-a-zA-Z0-9_]+$/`") # noqa: E501
1984
+
1985
+ self._slug_perm = slug_perm
1986
+
1987
+ @property
1988
+ def spdx_license(self):
1989
+ """Gets the spdx_license of this VagrantPackageUpload.
1990
+
1991
+ The SPDX license identifier for this package.
1992
+
1993
+ :return: The spdx_license of this VagrantPackageUpload.
1994
+ :rtype: str
1995
+ """
1996
+ return self._spdx_license
1997
+
1998
+ @spdx_license.setter
1999
+ def spdx_license(self, spdx_license):
2000
+ """Sets the spdx_license of this VagrantPackageUpload.
2001
+
2002
+ The SPDX license identifier for this package.
2003
+
2004
+ :param spdx_license: The spdx_license of this VagrantPackageUpload.
2005
+ :type: str
2006
+ """
2007
+ if (self._configuration.client_side_validation and
2008
+ spdx_license is not None and len(spdx_license) < 1):
2009
+ raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501
2010
+
2011
+ self._spdx_license = spdx_license
2012
+
2013
+ @property
2014
+ def stage(self):
2015
+ """Gets the stage of this VagrantPackageUpload.
2016
+
2017
+ The synchronisation (in progress) stage of the package.
2018
+
2019
+ :return: The stage of this VagrantPackageUpload.
2020
+ :rtype: int
2021
+ """
2022
+ return self._stage
2023
+
2024
+ @stage.setter
2025
+ def stage(self, stage):
2026
+ """Sets the stage of this VagrantPackageUpload.
2027
+
2028
+ The synchronisation (in progress) stage of the package.
2029
+
2030
+ :param stage: The stage of this VagrantPackageUpload.
2031
+ :type: int
2032
+ """
2033
+
2034
+ self._stage = stage
2035
+
2036
+ @property
2037
+ def stage_str(self):
2038
+ """Gets the stage_str of this VagrantPackageUpload.
2039
+
2040
+
2041
+ :return: The stage_str of this VagrantPackageUpload.
2042
+ :rtype: str
2043
+ """
2044
+ return self._stage_str
2045
+
2046
+ @stage_str.setter
2047
+ def stage_str(self, stage_str):
2048
+ """Sets the stage_str of this VagrantPackageUpload.
2049
+
2050
+
2051
+ :param stage_str: The stage_str of this VagrantPackageUpload.
2052
+ :type: str
2053
+ """
2054
+
2055
+ self._stage_str = stage_str
2056
+
2057
+ @property
2058
+ def stage_updated_at(self):
2059
+ """Gets the stage_updated_at of this VagrantPackageUpload.
2060
+
2061
+ The datetime the package stage was updated at.
2062
+
2063
+ :return: The stage_updated_at of this VagrantPackageUpload.
2064
+ :rtype: datetime
2065
+ """
2066
+ return self._stage_updated_at
2067
+
2068
+ @stage_updated_at.setter
2069
+ def stage_updated_at(self, stage_updated_at):
2070
+ """Sets the stage_updated_at of this VagrantPackageUpload.
2071
+
2072
+ The datetime the package stage was updated at.
2073
+
2074
+ :param stage_updated_at: The stage_updated_at of this VagrantPackageUpload.
2075
+ :type: datetime
2076
+ """
2077
+
2078
+ self._stage_updated_at = stage_updated_at
2079
+
2080
+ @property
2081
+ def status(self):
2082
+ """Gets the status of this VagrantPackageUpload.
2083
+
2084
+ The synchronisation status of the package.
2085
+
2086
+ :return: The status of this VagrantPackageUpload.
2087
+ :rtype: int
2088
+ """
2089
+ return self._status
2090
+
2091
+ @status.setter
2092
+ def status(self, status):
2093
+ """Sets the status of this VagrantPackageUpload.
2094
+
2095
+ The synchronisation status of the package.
2096
+
2097
+ :param status: The status of this VagrantPackageUpload.
2098
+ :type: int
2099
+ """
2100
+
2101
+ self._status = status
2102
+
2103
+ @property
2104
+ def status_reason(self):
2105
+ """Gets the status_reason of this VagrantPackageUpload.
2106
+
2107
+ A textual description for the synchronous status reason (if any
2108
+
2109
+ :return: The status_reason of this VagrantPackageUpload.
2110
+ :rtype: str
2111
+ """
2112
+ return self._status_reason
2113
+
2114
+ @status_reason.setter
2115
+ def status_reason(self, status_reason):
2116
+ """Sets the status_reason of this VagrantPackageUpload.
2117
+
2118
+ A textual description for the synchronous status reason (if any
2119
+
2120
+ :param status_reason: The status_reason of this VagrantPackageUpload.
2121
+ :type: str
2122
+ """
2123
+
2124
+ self._status_reason = status_reason
2125
+
2126
+ @property
2127
+ def status_str(self):
2128
+ """Gets the status_str of this VagrantPackageUpload.
2129
+
2130
+
2131
+ :return: The status_str of this VagrantPackageUpload.
2132
+ :rtype: str
2133
+ """
2134
+ return self._status_str
2135
+
2136
+ @status_str.setter
2137
+ def status_str(self, status_str):
2138
+ """Sets the status_str of this VagrantPackageUpload.
2139
+
2140
+
2141
+ :param status_str: The status_str of this VagrantPackageUpload.
2142
+ :type: str
2143
+ """
2144
+
2145
+ self._status_str = status_str
2146
+
2147
+ @property
2148
+ def status_updated_at(self):
2149
+ """Gets the status_updated_at of this VagrantPackageUpload.
2150
+
2151
+ The datetime the package status was updated at.
2152
+
2153
+ :return: The status_updated_at of this VagrantPackageUpload.
2154
+ :rtype: datetime
2155
+ """
2156
+ return self._status_updated_at
2157
+
2158
+ @status_updated_at.setter
2159
+ def status_updated_at(self, status_updated_at):
2160
+ """Sets the status_updated_at of this VagrantPackageUpload.
2161
+
2162
+ The datetime the package status was updated at.
2163
+
2164
+ :param status_updated_at: The status_updated_at of this VagrantPackageUpload.
2165
+ :type: datetime
2166
+ """
2167
+
2168
+ self._status_updated_at = status_updated_at
2169
+
2170
+ @property
2171
+ def status_url(self):
2172
+ """Gets the status_url of this VagrantPackageUpload.
2173
+
2174
+
2175
+ :return: The status_url of this VagrantPackageUpload.
2176
+ :rtype: str
2177
+ """
2178
+ return self._status_url
2179
+
2180
+ @status_url.setter
2181
+ def status_url(self, status_url):
2182
+ """Sets the status_url of this VagrantPackageUpload.
2183
+
2184
+
2185
+ :param status_url: The status_url of this VagrantPackageUpload.
2186
+ :type: str
2187
+ """
2188
+
2189
+ self._status_url = status_url
2190
+
2191
+ @property
2192
+ def store_path(self):
2193
+ """Gets the store_path of this VagrantPackageUpload.
2194
+
2195
+ Absolute store path for the package, including store hash and name.
2196
+
2197
+ :return: The store_path of this VagrantPackageUpload.
2198
+ :rtype: str
2199
+ """
2200
+ return self._store_path
2201
+
2202
+ @store_path.setter
2203
+ def store_path(self, store_path):
2204
+ """Sets the store_path of this VagrantPackageUpload.
2205
+
2206
+ Absolute store path for the package, including store hash and name.
2207
+
2208
+ :param store_path: The store_path of this VagrantPackageUpload.
2209
+ :type: str
2210
+ """
2211
+ if (self._configuration.client_side_validation and
2212
+ store_path is not None and len(store_path) < 1):
2213
+ raise ValueError("Invalid value for `store_path`, length must be greater than or equal to `1`") # noqa: E501
2214
+
2215
+ self._store_path = store_path
2216
+
2217
+ @property
2218
+ def subtype(self):
2219
+ """Gets the subtype of this VagrantPackageUpload.
2220
+
2221
+
2222
+ :return: The subtype of this VagrantPackageUpload.
2223
+ :rtype: str
2224
+ """
2225
+ return self._subtype
2226
+
2227
+ @subtype.setter
2228
+ def subtype(self, subtype):
2229
+ """Sets the subtype of this VagrantPackageUpload.
2230
+
2231
+
2232
+ :param subtype: The subtype of this VagrantPackageUpload.
2233
+ :type: str
2234
+ """
2235
+
2236
+ self._subtype = subtype
2237
+
2238
+ @property
2239
+ def summary(self):
2240
+ """Gets the summary of this VagrantPackageUpload.
2241
+
2242
+ A one-liner synopsis of this package.
2243
+
2244
+ :return: The summary of this VagrantPackageUpload.
2245
+ :rtype: str
2246
+ """
2247
+ return self._summary
2248
+
2249
+ @summary.setter
2250
+ def summary(self, summary):
2251
+ """Sets the summary of this VagrantPackageUpload.
2252
+
2253
+ A one-liner synopsis of this package.
2254
+
2255
+ :param summary: The summary of this VagrantPackageUpload.
2256
+ :type: str
2257
+ """
2258
+
2259
+ self._summary = summary
2260
+
2261
+ @property
2262
+ def sync_finished_at(self):
2263
+ """Gets the sync_finished_at of this VagrantPackageUpload.
2264
+
2265
+ The datetime the package sync was finished at.
2266
+
2267
+ :return: The sync_finished_at of this VagrantPackageUpload.
2268
+ :rtype: datetime
2269
+ """
2270
+ return self._sync_finished_at
2271
+
2272
+ @sync_finished_at.setter
2273
+ def sync_finished_at(self, sync_finished_at):
2274
+ """Sets the sync_finished_at of this VagrantPackageUpload.
2275
+
2276
+ The datetime the package sync was finished at.
2277
+
2278
+ :param sync_finished_at: The sync_finished_at of this VagrantPackageUpload.
2279
+ :type: datetime
2280
+ """
2281
+
2282
+ self._sync_finished_at = sync_finished_at
2283
+
2284
+ @property
2285
+ def sync_progress(self):
2286
+ """Gets the sync_progress of this VagrantPackageUpload.
2287
+
2288
+ Synchronisation progress (from 0-100)
2289
+
2290
+ :return: The sync_progress of this VagrantPackageUpload.
2291
+ :rtype: int
2292
+ """
2293
+ return self._sync_progress
2294
+
2295
+ @sync_progress.setter
2296
+ def sync_progress(self, sync_progress):
2297
+ """Sets the sync_progress of this VagrantPackageUpload.
2298
+
2299
+ Synchronisation progress (from 0-100)
2300
+
2301
+ :param sync_progress: The sync_progress of this VagrantPackageUpload.
2302
+ :type: int
2303
+ """
2304
+
2305
+ self._sync_progress = sync_progress
2306
+
2307
+ @property
2308
+ def tags_automatic(self):
2309
+ """Gets the tags_automatic of this VagrantPackageUpload.
2310
+
2311
+
2312
+ :return: The tags_automatic of this VagrantPackageUpload.
2313
+ :rtype: Tags
2314
+ """
2315
+ return self._tags_automatic
2316
+
2317
+ @tags_automatic.setter
2318
+ def tags_automatic(self, tags_automatic):
2319
+ """Sets the tags_automatic of this VagrantPackageUpload.
2320
+
2321
+
2322
+ :param tags_automatic: The tags_automatic of this VagrantPackageUpload.
2323
+ :type: Tags
2324
+ """
2325
+
2326
+ self._tags_automatic = tags_automatic
2327
+
2328
+ @property
2329
+ def tags_immutable(self):
2330
+ """Gets the tags_immutable of this VagrantPackageUpload.
2331
+
2332
+
2333
+ :return: The tags_immutable of this VagrantPackageUpload.
2334
+ :rtype: Tags
2335
+ """
2336
+ return self._tags_immutable
2337
+
2338
+ @tags_immutable.setter
2339
+ def tags_immutable(self, tags_immutable):
2340
+ """Sets the tags_immutable of this VagrantPackageUpload.
2341
+
2342
+
2343
+ :param tags_immutable: The tags_immutable of this VagrantPackageUpload.
2344
+ :type: Tags
2345
+ """
2346
+
2347
+ self._tags_immutable = tags_immutable
2348
+
2349
+ @property
2350
+ def tags_static(self):
2351
+ """Gets the tags_static of this VagrantPackageUpload.
2352
+
2353
+ All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
2354
+
2355
+ :return: The tags_static of this VagrantPackageUpload.
2356
+ :rtype: dict(str, list[str])
2357
+ """
2358
+ return self._tags_static
2359
+
2360
+ @tags_static.setter
2361
+ def tags_static(self, tags_static):
2362
+ """Sets the tags_static of this VagrantPackageUpload.
2363
+
2364
+ All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
2365
+
2366
+ :param tags_static: The tags_static of this VagrantPackageUpload.
2367
+ :type: dict(str, list[str])
2368
+ """
2369
+
2370
+ self._tags_static = tags_static
2371
+
2372
+ @property
2373
+ def type_display(self):
2374
+ """Gets the type_display of this VagrantPackageUpload.
2375
+
2376
+
2377
+ :return: The type_display of this VagrantPackageUpload.
2378
+ :rtype: str
2379
+ """
2380
+ return self._type_display
2381
+
2382
+ @type_display.setter
2383
+ def type_display(self, type_display):
2384
+ """Sets the type_display of this VagrantPackageUpload.
2385
+
2386
+
2387
+ :param type_display: The type_display of this VagrantPackageUpload.
2388
+ :type: str
2389
+ """
2390
+
2391
+ self._type_display = type_display
2392
+
2393
+ @property
2394
+ def uploaded_at(self):
2395
+ """Gets the uploaded_at of this VagrantPackageUpload.
2396
+
2397
+ The date this package was uploaded.
2398
+
2399
+ :return: The uploaded_at of this VagrantPackageUpload.
2400
+ :rtype: datetime
2401
+ """
2402
+ return self._uploaded_at
2403
+
2404
+ @uploaded_at.setter
2405
+ def uploaded_at(self, uploaded_at):
2406
+ """Sets the uploaded_at of this VagrantPackageUpload.
2407
+
2408
+ The date this package was uploaded.
2409
+
2410
+ :param uploaded_at: The uploaded_at of this VagrantPackageUpload.
2411
+ :type: datetime
2412
+ """
2413
+
2414
+ self._uploaded_at = uploaded_at
2415
+
2416
+ @property
2417
+ def uploader(self):
2418
+ """Gets the uploader of this VagrantPackageUpload.
2419
+
2420
+
2421
+ :return: The uploader of this VagrantPackageUpload.
2422
+ :rtype: str
2423
+ """
2424
+ return self._uploader
2425
+
2426
+ @uploader.setter
2427
+ def uploader(self, uploader):
2428
+ """Sets the uploader of this VagrantPackageUpload.
2429
+
2430
+
2431
+ :param uploader: The uploader of this VagrantPackageUpload.
2432
+ :type: str
2433
+ """
2434
+ if (self._configuration.client_side_validation and
2435
+ uploader is not None and len(uploader) < 1):
2436
+ raise ValueError("Invalid value for `uploader`, length must be greater than or equal to `1`") # noqa: E501
2437
+
2438
+ self._uploader = uploader
2439
+
2440
+ @property
2441
+ def uploader_url(self):
2442
+ """Gets the uploader_url of this VagrantPackageUpload.
2443
+
2444
+
2445
+ :return: The uploader_url of this VagrantPackageUpload.
2446
+ :rtype: str
2447
+ """
2448
+ return self._uploader_url
2449
+
2450
+ @uploader_url.setter
2451
+ def uploader_url(self, uploader_url):
2452
+ """Sets the uploader_url of this VagrantPackageUpload.
2453
+
2454
+
2455
+ :param uploader_url: The uploader_url of this VagrantPackageUpload.
2456
+ :type: str
2457
+ """
2458
+
2459
+ self._uploader_url = uploader_url
2460
+
2461
+ @property
2462
+ def version(self):
2463
+ """Gets the version of this VagrantPackageUpload.
2464
+
2465
+ The raw version for this package.
2466
+
2467
+ :return: The version of this VagrantPackageUpload.
2468
+ :rtype: str
2469
+ """
2470
+ return self._version
2471
+
2472
+ @version.setter
2473
+ def version(self, version):
2474
+ """Sets the version of this VagrantPackageUpload.
2475
+
2476
+ The raw version for this package.
2477
+
2478
+ :param version: The version of this VagrantPackageUpload.
2479
+ :type: str
2480
+ """
2481
+ if self._configuration.client_side_validation and version is None:
2482
+ raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501
2483
+ if (self._configuration.client_side_validation and
2484
+ version is not None and len(version) > 255):
2485
+ raise ValueError("Invalid value for `version`, length must be less than or equal to `255`") # noqa: E501
2486
+
2487
+ self._version = version
2488
+
2489
+ @property
2490
+ def version_orig(self):
2491
+ """Gets the version_orig of this VagrantPackageUpload.
2492
+
2493
+
2494
+ :return: The version_orig of this VagrantPackageUpload.
2495
+ :rtype: str
2496
+ """
2497
+ return self._version_orig
2498
+
2499
+ @version_orig.setter
2500
+ def version_orig(self, version_orig):
2501
+ """Sets the version_orig of this VagrantPackageUpload.
2502
+
2503
+
2504
+ :param version_orig: The version_orig of this VagrantPackageUpload.
2505
+ :type: str
2506
+ """
2507
+
2508
+ self._version_orig = version_orig
2509
+
2510
+ @property
2511
+ def vulnerability_counts(self):
2512
+ """Gets the vulnerability_counts of this VagrantPackageUpload.
2513
+
2514
+
2515
+ :return: The vulnerability_counts of this VagrantPackageUpload.
2516
+ :rtype: WebOSVSeverityCounts
2517
+ """
2518
+ return self._vulnerability_counts
2519
+
2520
+ @vulnerability_counts.setter
2521
+ def vulnerability_counts(self, vulnerability_counts):
2522
+ """Sets the vulnerability_counts of this VagrantPackageUpload.
2523
+
2524
+
2525
+ :param vulnerability_counts: The vulnerability_counts of this VagrantPackageUpload.
2526
+ :type: WebOSVSeverityCounts
2527
+ """
2528
+
2529
+ self._vulnerability_counts = vulnerability_counts
2530
+
2531
+ @property
2532
+ def vulnerability_scan_results_url(self):
2533
+ """Gets the vulnerability_scan_results_url of this VagrantPackageUpload.
2534
+
2535
+
2536
+ :return: The vulnerability_scan_results_url of this VagrantPackageUpload.
2537
+ :rtype: str
2538
+ """
2539
+ return self._vulnerability_scan_results_url
2540
+
2541
+ @vulnerability_scan_results_url.setter
2542
+ def vulnerability_scan_results_url(self, vulnerability_scan_results_url):
2543
+ """Sets the vulnerability_scan_results_url of this VagrantPackageUpload.
2544
+
2545
+
2546
+ :param vulnerability_scan_results_url: The vulnerability_scan_results_url of this VagrantPackageUpload.
2547
+ :type: str
2548
+ """
2549
+
2550
+ self._vulnerability_scan_results_url = vulnerability_scan_results_url
2551
+
2552
+ def to_dict(self):
2553
+ """Returns the model properties as a dict"""
2554
+ result = {}
2555
+
2556
+ for attr, _ in six.iteritems(self.swagger_types):
2557
+ value = getattr(self, attr)
2558
+ if isinstance(value, list):
2559
+ result[attr] = list(map(
2560
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
2561
+ value
2562
+ ))
2563
+ elif hasattr(value, "to_dict"):
2564
+ result[attr] = value.to_dict()
2565
+ elif isinstance(value, dict):
2566
+ result[attr] = dict(map(
2567
+ lambda item: (item[0], item[1].to_dict())
2568
+ if hasattr(item[1], "to_dict") else item,
2569
+ value.items()
2570
+ ))
2571
+ else:
2572
+ result[attr] = value
2573
+ if issubclass(VagrantPackageUpload, dict):
2574
+ for key, value in self.items():
2575
+ result[key] = value
2576
+
2577
+ return result
2578
+
2579
+ def to_str(self):
2580
+ """Returns the string representation of the model"""
2581
+ return pprint.pformat(self.to_dict())
2582
+
2583
+ def __repr__(self):
2584
+ """For `print` and `pprint`"""
2585
+ return self.to_str()
2586
+
2587
+ def __eq__(self, other):
2588
+ """Returns true if both objects are equal"""
2589
+ if not isinstance(other, VagrantPackageUpload):
2590
+ return False
2591
+
2592
+ return self.to_dict() == other.to_dict()
2593
+
2594
+ def __ne__(self, other):
2595
+ """Returns true if both objects are not equal"""
2596
+ if not isinstance(other, VagrantPackageUpload):
2597
+ return True
2598
+
2599
+ return self.to_dict() != other.to_dict()
2600
+