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,2634 @@
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 ConanPackageUpload(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
+ 'conan_channel': 'str',
43
+ 'conan_prefix': 'str',
44
+ 'dependencies_checksum_md5': 'str',
45
+ 'dependencies_url': 'str',
46
+ 'description': 'str',
47
+ 'display_name': 'str',
48
+ 'distro': 'Distribution',
49
+ 'distro_version': 'DistributionVersion',
50
+ 'downloads': 'int',
51
+ 'epoch': 'int',
52
+ 'extension': 'str',
53
+ 'filename': 'str',
54
+ 'files': 'list[PackageFile]',
55
+ 'format': 'str',
56
+ 'format_url': 'str',
57
+ 'freeable_storage': 'int',
58
+ 'fully_qualified_name': 'str',
59
+ 'identifier_perm': 'str',
60
+ 'identifiers': 'dict(str, str)',
61
+ 'indexed': 'bool',
62
+ 'is_cancellable': 'bool',
63
+ 'is_copyable': 'bool',
64
+ 'is_deleteable': 'bool',
65
+ 'is_downloadable': 'bool',
66
+ 'is_hidden': 'bool',
67
+ 'is_malware_detected': 'bool',
68
+ 'is_moveable': 'bool',
69
+ 'is_quarantinable': 'bool',
70
+ 'is_quarantined': 'bool',
71
+ 'is_resyncable': 'bool',
72
+ 'is_security_scannable': 'bool',
73
+ 'is_sync_awaiting': 'bool',
74
+ 'is_sync_completed': 'bool',
75
+ 'is_sync_failed': 'bool',
76
+ 'is_sync_in_flight': 'bool',
77
+ 'is_sync_in_progress': 'bool',
78
+ 'license': 'str',
79
+ 'name': 'str',
80
+ 'namespace': 'str',
81
+ 'namespace_url': 'str',
82
+ 'num_files': 'int',
83
+ 'origin_repository': 'str',
84
+ 'origin_repository_url': 'str',
85
+ 'osi_approved': 'bool',
86
+ 'package_type': 'int',
87
+ 'policy_violated': 'bool',
88
+ 'raw_license': 'str',
89
+ 'release': 'str',
90
+ 'repository': 'str',
91
+ 'repository_url': 'str',
92
+ 'security_scan_completed_at': 'datetime',
93
+ 'security_scan_started_at': 'datetime',
94
+ 'security_scan_status': 'str',
95
+ 'security_scan_status_updated_at': 'datetime',
96
+ 'self_html_url': 'str',
97
+ 'self_url': 'str',
98
+ 'self_webapp_url': 'str',
99
+ 'signature_url': 'str',
100
+ 'size': 'int',
101
+ 'slug': 'str',
102
+ 'slug_perm': 'str',
103
+ 'spdx_license': 'str',
104
+ 'stage': 'int',
105
+ 'stage_str': 'str',
106
+ 'stage_updated_at': 'datetime',
107
+ 'status': 'int',
108
+ 'status_reason': 'str',
109
+ 'status_str': 'str',
110
+ 'status_updated_at': 'datetime',
111
+ 'status_url': 'str',
112
+ 'store_path': 'str',
113
+ 'subtype': 'str',
114
+ 'summary': 'str',
115
+ 'sync_finished_at': 'datetime',
116
+ 'sync_progress': 'int',
117
+ 'tags_automatic': 'Tags',
118
+ 'tags_immutable': 'Tags',
119
+ 'tags_static': 'dict(str, list[str])',
120
+ 'type_display': 'str',
121
+ 'uploaded_at': 'datetime',
122
+ 'uploader': 'str',
123
+ 'uploader_url': 'str',
124
+ 'version': 'str',
125
+ 'version_orig': 'str',
126
+ 'vulnerability_counts': 'WebOSVSeverityCounts',
127
+ 'vulnerability_scan_results_url': 'str'
128
+ }
129
+
130
+ attribute_map = {
131
+ 'architectures': 'architectures',
132
+ 'cdn_url': 'cdn_url',
133
+ 'checksum_md5': 'checksum_md5',
134
+ 'checksum_sha1': 'checksum_sha1',
135
+ 'checksum_sha256': 'checksum_sha256',
136
+ 'checksum_sha512': 'checksum_sha512',
137
+ 'conan_channel': 'conan_channel',
138
+ 'conan_prefix': 'conan_prefix',
139
+ 'dependencies_checksum_md5': 'dependencies_checksum_md5',
140
+ 'dependencies_url': 'dependencies_url',
141
+ 'description': 'description',
142
+ 'display_name': 'display_name',
143
+ 'distro': 'distro',
144
+ 'distro_version': 'distro_version',
145
+ 'downloads': 'downloads',
146
+ 'epoch': 'epoch',
147
+ 'extension': 'extension',
148
+ 'filename': 'filename',
149
+ 'files': 'files',
150
+ 'format': 'format',
151
+ 'format_url': 'format_url',
152
+ 'freeable_storage': 'freeable_storage',
153
+ 'fully_qualified_name': 'fully_qualified_name',
154
+ 'identifier_perm': 'identifier_perm',
155
+ 'identifiers': 'identifiers',
156
+ 'indexed': 'indexed',
157
+ 'is_cancellable': 'is_cancellable',
158
+ 'is_copyable': 'is_copyable',
159
+ 'is_deleteable': 'is_deleteable',
160
+ 'is_downloadable': 'is_downloadable',
161
+ 'is_hidden': 'is_hidden',
162
+ 'is_malware_detected': 'is_malware_detected',
163
+ 'is_moveable': 'is_moveable',
164
+ 'is_quarantinable': 'is_quarantinable',
165
+ 'is_quarantined': 'is_quarantined',
166
+ 'is_resyncable': 'is_resyncable',
167
+ 'is_security_scannable': 'is_security_scannable',
168
+ 'is_sync_awaiting': 'is_sync_awaiting',
169
+ 'is_sync_completed': 'is_sync_completed',
170
+ 'is_sync_failed': 'is_sync_failed',
171
+ 'is_sync_in_flight': 'is_sync_in_flight',
172
+ 'is_sync_in_progress': 'is_sync_in_progress',
173
+ 'license': 'license',
174
+ 'name': 'name',
175
+ 'namespace': 'namespace',
176
+ 'namespace_url': 'namespace_url',
177
+ 'num_files': 'num_files',
178
+ 'origin_repository': 'origin_repository',
179
+ 'origin_repository_url': 'origin_repository_url',
180
+ 'osi_approved': 'osi_approved',
181
+ 'package_type': 'package_type',
182
+ 'policy_violated': 'policy_violated',
183
+ 'raw_license': 'raw_license',
184
+ 'release': 'release',
185
+ 'repository': 'repository',
186
+ 'repository_url': 'repository_url',
187
+ 'security_scan_completed_at': 'security_scan_completed_at',
188
+ 'security_scan_started_at': 'security_scan_started_at',
189
+ 'security_scan_status': 'security_scan_status',
190
+ 'security_scan_status_updated_at': 'security_scan_status_updated_at',
191
+ 'self_html_url': 'self_html_url',
192
+ 'self_url': 'self_url',
193
+ 'self_webapp_url': 'self_webapp_url',
194
+ 'signature_url': 'signature_url',
195
+ 'size': 'size',
196
+ 'slug': 'slug',
197
+ 'slug_perm': 'slug_perm',
198
+ 'spdx_license': 'spdx_license',
199
+ 'stage': 'stage',
200
+ 'stage_str': 'stage_str',
201
+ 'stage_updated_at': 'stage_updated_at',
202
+ 'status': 'status',
203
+ 'status_reason': 'status_reason',
204
+ 'status_str': 'status_str',
205
+ 'status_updated_at': 'status_updated_at',
206
+ 'status_url': 'status_url',
207
+ 'store_path': 'store_path',
208
+ 'subtype': 'subtype',
209
+ 'summary': 'summary',
210
+ 'sync_finished_at': 'sync_finished_at',
211
+ 'sync_progress': 'sync_progress',
212
+ 'tags_automatic': 'tags_automatic',
213
+ 'tags_immutable': 'tags_immutable',
214
+ 'tags_static': 'tags_static',
215
+ 'type_display': 'type_display',
216
+ 'uploaded_at': 'uploaded_at',
217
+ 'uploader': 'uploader',
218
+ 'uploader_url': 'uploader_url',
219
+ 'version': 'version',
220
+ 'version_orig': 'version_orig',
221
+ 'vulnerability_counts': 'vulnerability_counts',
222
+ 'vulnerability_scan_results_url': 'vulnerability_scan_results_url'
223
+ }
224
+
225
+ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, conan_channel=None, conan_prefix=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, 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
226
+ """ConanPackageUpload - a model defined in Swagger""" # noqa: E501
227
+ if _configuration is None:
228
+ _configuration = Configuration()
229
+ self._configuration = _configuration
230
+
231
+ self._architectures = None
232
+ self._cdn_url = None
233
+ self._checksum_md5 = None
234
+ self._checksum_sha1 = None
235
+ self._checksum_sha256 = None
236
+ self._checksum_sha512 = None
237
+ self._conan_channel = None
238
+ self._conan_prefix = None
239
+ self._dependencies_checksum_md5 = None
240
+ self._dependencies_url = None
241
+ self._description = None
242
+ self._display_name = None
243
+ self._distro = None
244
+ self._distro_version = None
245
+ self._downloads = None
246
+ self._epoch = None
247
+ self._extension = None
248
+ self._filename = None
249
+ self._files = None
250
+ self._format = None
251
+ self._format_url = None
252
+ self._freeable_storage = None
253
+ self._fully_qualified_name = None
254
+ self._identifier_perm = None
255
+ self._identifiers = None
256
+ self._indexed = None
257
+ self._is_cancellable = None
258
+ self._is_copyable = None
259
+ self._is_deleteable = None
260
+ self._is_downloadable = None
261
+ self._is_hidden = None
262
+ self._is_malware_detected = None
263
+ self._is_moveable = None
264
+ self._is_quarantinable = None
265
+ self._is_quarantined = None
266
+ self._is_resyncable = None
267
+ self._is_security_scannable = None
268
+ self._is_sync_awaiting = None
269
+ self._is_sync_completed = None
270
+ self._is_sync_failed = None
271
+ self._is_sync_in_flight = None
272
+ self._is_sync_in_progress = None
273
+ self._license = None
274
+ self._name = None
275
+ self._namespace = None
276
+ self._namespace_url = None
277
+ self._num_files = None
278
+ self._origin_repository = None
279
+ self._origin_repository_url = None
280
+ self._osi_approved = None
281
+ self._package_type = None
282
+ self._policy_violated = None
283
+ self._raw_license = None
284
+ self._release = None
285
+ self._repository = None
286
+ self._repository_url = None
287
+ self._security_scan_completed_at = None
288
+ self._security_scan_started_at = None
289
+ self._security_scan_status = None
290
+ self._security_scan_status_updated_at = None
291
+ self._self_html_url = None
292
+ self._self_url = None
293
+ self._self_webapp_url = None
294
+ self._signature_url = None
295
+ self._size = None
296
+ self._slug = None
297
+ self._slug_perm = None
298
+ self._spdx_license = None
299
+ self._stage = None
300
+ self._stage_str = None
301
+ self._stage_updated_at = None
302
+ self._status = None
303
+ self._status_reason = None
304
+ self._status_str = None
305
+ self._status_updated_at = None
306
+ self._status_url = None
307
+ self._store_path = None
308
+ self._subtype = None
309
+ self._summary = None
310
+ self._sync_finished_at = None
311
+ self._sync_progress = None
312
+ self._tags_automatic = None
313
+ self._tags_immutable = None
314
+ self._tags_static = None
315
+ self._type_display = None
316
+ self._uploaded_at = None
317
+ self._uploader = None
318
+ self._uploader_url = None
319
+ self._version = None
320
+ self._version_orig = None
321
+ self._vulnerability_counts = None
322
+ self._vulnerability_scan_results_url = None
323
+ self.discriminator = None
324
+
325
+ if architectures is not None:
326
+ self.architectures = architectures
327
+ if cdn_url is not None:
328
+ self.cdn_url = cdn_url
329
+ if checksum_md5 is not None:
330
+ self.checksum_md5 = checksum_md5
331
+ if checksum_sha1 is not None:
332
+ self.checksum_sha1 = checksum_sha1
333
+ if checksum_sha256 is not None:
334
+ self.checksum_sha256 = checksum_sha256
335
+ if checksum_sha512 is not None:
336
+ self.checksum_sha512 = checksum_sha512
337
+ if conan_channel is not None:
338
+ self.conan_channel = conan_channel
339
+ if conan_prefix is not None:
340
+ self.conan_prefix = conan_prefix
341
+ if dependencies_checksum_md5 is not None:
342
+ self.dependencies_checksum_md5 = dependencies_checksum_md5
343
+ if dependencies_url is not None:
344
+ self.dependencies_url = dependencies_url
345
+ if description is not None:
346
+ self.description = description
347
+ if display_name is not None:
348
+ self.display_name = display_name
349
+ if distro is not None:
350
+ self.distro = distro
351
+ if distro_version is not None:
352
+ self.distro_version = distro_version
353
+ if downloads is not None:
354
+ self.downloads = downloads
355
+ if epoch is not None:
356
+ self.epoch = epoch
357
+ if extension is not None:
358
+ self.extension = extension
359
+ if filename is not None:
360
+ self.filename = filename
361
+ if files is not None:
362
+ self.files = files
363
+ if format is not None:
364
+ self.format = format
365
+ if format_url is not None:
366
+ self.format_url = format_url
367
+ if freeable_storage is not None:
368
+ self.freeable_storage = freeable_storage
369
+ if fully_qualified_name is not None:
370
+ self.fully_qualified_name = fully_qualified_name
371
+ if identifier_perm is not None:
372
+ self.identifier_perm = identifier_perm
373
+ if identifiers is not None:
374
+ self.identifiers = identifiers
375
+ if indexed is not None:
376
+ self.indexed = indexed
377
+ if is_cancellable is not None:
378
+ self.is_cancellable = is_cancellable
379
+ if is_copyable is not None:
380
+ self.is_copyable = is_copyable
381
+ if is_deleteable is not None:
382
+ self.is_deleteable = is_deleteable
383
+ if is_downloadable is not None:
384
+ self.is_downloadable = is_downloadable
385
+ if is_hidden is not None:
386
+ self.is_hidden = is_hidden
387
+ if is_malware_detected is not None:
388
+ self.is_malware_detected = is_malware_detected
389
+ if is_moveable is not None:
390
+ self.is_moveable = is_moveable
391
+ if is_quarantinable is not None:
392
+ self.is_quarantinable = is_quarantinable
393
+ if is_quarantined is not None:
394
+ self.is_quarantined = is_quarantined
395
+ if is_resyncable is not None:
396
+ self.is_resyncable = is_resyncable
397
+ if is_security_scannable is not None:
398
+ self.is_security_scannable = is_security_scannable
399
+ if is_sync_awaiting is not None:
400
+ self.is_sync_awaiting = is_sync_awaiting
401
+ if is_sync_completed is not None:
402
+ self.is_sync_completed = is_sync_completed
403
+ if is_sync_failed is not None:
404
+ self.is_sync_failed = is_sync_failed
405
+ if is_sync_in_flight is not None:
406
+ self.is_sync_in_flight = is_sync_in_flight
407
+ if is_sync_in_progress is not None:
408
+ self.is_sync_in_progress = is_sync_in_progress
409
+ if license is not None:
410
+ self.license = license
411
+ if name is not None:
412
+ self.name = name
413
+ if namespace is not None:
414
+ self.namespace = namespace
415
+ if namespace_url is not None:
416
+ self.namespace_url = namespace_url
417
+ if num_files is not None:
418
+ self.num_files = num_files
419
+ if origin_repository is not None:
420
+ self.origin_repository = origin_repository
421
+ if origin_repository_url is not None:
422
+ self.origin_repository_url = origin_repository_url
423
+ if osi_approved is not None:
424
+ self.osi_approved = osi_approved
425
+ if package_type is not None:
426
+ self.package_type = package_type
427
+ if policy_violated is not None:
428
+ self.policy_violated = policy_violated
429
+ if raw_license is not None:
430
+ self.raw_license = raw_license
431
+ if release is not None:
432
+ self.release = release
433
+ if repository is not None:
434
+ self.repository = repository
435
+ if repository_url is not None:
436
+ self.repository_url = repository_url
437
+ if security_scan_completed_at is not None:
438
+ self.security_scan_completed_at = security_scan_completed_at
439
+ if security_scan_started_at is not None:
440
+ self.security_scan_started_at = security_scan_started_at
441
+ if security_scan_status is not None:
442
+ self.security_scan_status = security_scan_status
443
+ if security_scan_status_updated_at is not None:
444
+ self.security_scan_status_updated_at = security_scan_status_updated_at
445
+ if self_html_url is not None:
446
+ self.self_html_url = self_html_url
447
+ if self_url is not None:
448
+ self.self_url = self_url
449
+ if self_webapp_url is not None:
450
+ self.self_webapp_url = self_webapp_url
451
+ if signature_url is not None:
452
+ self.signature_url = signature_url
453
+ if size is not None:
454
+ self.size = size
455
+ if slug is not None:
456
+ self.slug = slug
457
+ if slug_perm is not None:
458
+ self.slug_perm = slug_perm
459
+ if spdx_license is not None:
460
+ self.spdx_license = spdx_license
461
+ if stage is not None:
462
+ self.stage = stage
463
+ if stage_str is not None:
464
+ self.stage_str = stage_str
465
+ if stage_updated_at is not None:
466
+ self.stage_updated_at = stage_updated_at
467
+ if status is not None:
468
+ self.status = status
469
+ if status_reason is not None:
470
+ self.status_reason = status_reason
471
+ if status_str is not None:
472
+ self.status_str = status_str
473
+ if status_updated_at is not None:
474
+ self.status_updated_at = status_updated_at
475
+ if status_url is not None:
476
+ self.status_url = status_url
477
+ if store_path is not None:
478
+ self.store_path = store_path
479
+ if subtype is not None:
480
+ self.subtype = subtype
481
+ if summary is not None:
482
+ self.summary = summary
483
+ if sync_finished_at is not None:
484
+ self.sync_finished_at = sync_finished_at
485
+ if sync_progress is not None:
486
+ self.sync_progress = sync_progress
487
+ if tags_automatic is not None:
488
+ self.tags_automatic = tags_automatic
489
+ if tags_immutable is not None:
490
+ self.tags_immutable = tags_immutable
491
+ if tags_static is not None:
492
+ self.tags_static = tags_static
493
+ if type_display is not None:
494
+ self.type_display = type_display
495
+ if uploaded_at is not None:
496
+ self.uploaded_at = uploaded_at
497
+ if uploader is not None:
498
+ self.uploader = uploader
499
+ if uploader_url is not None:
500
+ self.uploader_url = uploader_url
501
+ if version is not None:
502
+ self.version = version
503
+ if version_orig is not None:
504
+ self.version_orig = version_orig
505
+ if vulnerability_counts is not None:
506
+ self.vulnerability_counts = vulnerability_counts
507
+ if vulnerability_scan_results_url is not None:
508
+ self.vulnerability_scan_results_url = vulnerability_scan_results_url
509
+
510
+ @property
511
+ def architectures(self):
512
+ """Gets the architectures of this ConanPackageUpload.
513
+
514
+
515
+ :return: The architectures of this ConanPackageUpload.
516
+ :rtype: list[Architecture]
517
+ """
518
+ return self._architectures
519
+
520
+ @architectures.setter
521
+ def architectures(self, architectures):
522
+ """Sets the architectures of this ConanPackageUpload.
523
+
524
+
525
+ :param architectures: The architectures of this ConanPackageUpload.
526
+ :type: list[Architecture]
527
+ """
528
+
529
+ self._architectures = architectures
530
+
531
+ @property
532
+ def cdn_url(self):
533
+ """Gets the cdn_url of this ConanPackageUpload.
534
+
535
+
536
+ :return: The cdn_url of this ConanPackageUpload.
537
+ :rtype: str
538
+ """
539
+ return self._cdn_url
540
+
541
+ @cdn_url.setter
542
+ def cdn_url(self, cdn_url):
543
+ """Sets the cdn_url of this ConanPackageUpload.
544
+
545
+
546
+ :param cdn_url: The cdn_url of this ConanPackageUpload.
547
+ :type: str
548
+ """
549
+
550
+ self._cdn_url = cdn_url
551
+
552
+ @property
553
+ def checksum_md5(self):
554
+ """Gets the checksum_md5 of this ConanPackageUpload.
555
+
556
+
557
+ :return: The checksum_md5 of this ConanPackageUpload.
558
+ :rtype: str
559
+ """
560
+ return self._checksum_md5
561
+
562
+ @checksum_md5.setter
563
+ def checksum_md5(self, checksum_md5):
564
+ """Sets the checksum_md5 of this ConanPackageUpload.
565
+
566
+
567
+ :param checksum_md5: The checksum_md5 of this ConanPackageUpload.
568
+ :type: str
569
+ """
570
+
571
+ self._checksum_md5 = checksum_md5
572
+
573
+ @property
574
+ def checksum_sha1(self):
575
+ """Gets the checksum_sha1 of this ConanPackageUpload.
576
+
577
+
578
+ :return: The checksum_sha1 of this ConanPackageUpload.
579
+ :rtype: str
580
+ """
581
+ return self._checksum_sha1
582
+
583
+ @checksum_sha1.setter
584
+ def checksum_sha1(self, checksum_sha1):
585
+ """Sets the checksum_sha1 of this ConanPackageUpload.
586
+
587
+
588
+ :param checksum_sha1: The checksum_sha1 of this ConanPackageUpload.
589
+ :type: str
590
+ """
591
+
592
+ self._checksum_sha1 = checksum_sha1
593
+
594
+ @property
595
+ def checksum_sha256(self):
596
+ """Gets the checksum_sha256 of this ConanPackageUpload.
597
+
598
+
599
+ :return: The checksum_sha256 of this ConanPackageUpload.
600
+ :rtype: str
601
+ """
602
+ return self._checksum_sha256
603
+
604
+ @checksum_sha256.setter
605
+ def checksum_sha256(self, checksum_sha256):
606
+ """Sets the checksum_sha256 of this ConanPackageUpload.
607
+
608
+
609
+ :param checksum_sha256: The checksum_sha256 of this ConanPackageUpload.
610
+ :type: str
611
+ """
612
+
613
+ self._checksum_sha256 = checksum_sha256
614
+
615
+ @property
616
+ def checksum_sha512(self):
617
+ """Gets the checksum_sha512 of this ConanPackageUpload.
618
+
619
+
620
+ :return: The checksum_sha512 of this ConanPackageUpload.
621
+ :rtype: str
622
+ """
623
+ return self._checksum_sha512
624
+
625
+ @checksum_sha512.setter
626
+ def checksum_sha512(self, checksum_sha512):
627
+ """Sets the checksum_sha512 of this ConanPackageUpload.
628
+
629
+
630
+ :param checksum_sha512: The checksum_sha512 of this ConanPackageUpload.
631
+ :type: str
632
+ """
633
+
634
+ self._checksum_sha512 = checksum_sha512
635
+
636
+ @property
637
+ def conan_channel(self):
638
+ """Gets the conan_channel of this ConanPackageUpload.
639
+
640
+ Conan channel.
641
+
642
+ :return: The conan_channel of this ConanPackageUpload.
643
+ :rtype: str
644
+ """
645
+ return self._conan_channel
646
+
647
+ @conan_channel.setter
648
+ def conan_channel(self, conan_channel):
649
+ """Sets the conan_channel of this ConanPackageUpload.
650
+
651
+ Conan channel.
652
+
653
+ :param conan_channel: The conan_channel of this ConanPackageUpload.
654
+ :type: str
655
+ """
656
+ if (self._configuration.client_side_validation and
657
+ conan_channel is not None and len(conan_channel) > 128):
658
+ raise ValueError("Invalid value for `conan_channel`, length must be less than or equal to `128`") # noqa: E501
659
+ if (self._configuration.client_side_validation and
660
+ conan_channel is not None and len(conan_channel) < 1):
661
+ raise ValueError("Invalid value for `conan_channel`, length must be greater than or equal to `1`") # noqa: E501
662
+
663
+ self._conan_channel = conan_channel
664
+
665
+ @property
666
+ def conan_prefix(self):
667
+ """Gets the conan_prefix of this ConanPackageUpload.
668
+
669
+ Conan prefix (User).
670
+
671
+ :return: The conan_prefix of this ConanPackageUpload.
672
+ :rtype: str
673
+ """
674
+ return self._conan_prefix
675
+
676
+ @conan_prefix.setter
677
+ def conan_prefix(self, conan_prefix):
678
+ """Sets the conan_prefix of this ConanPackageUpload.
679
+
680
+ Conan prefix (User).
681
+
682
+ :param conan_prefix: The conan_prefix of this ConanPackageUpload.
683
+ :type: str
684
+ """
685
+ if (self._configuration.client_side_validation and
686
+ conan_prefix is not None and len(conan_prefix) > 128):
687
+ raise ValueError("Invalid value for `conan_prefix`, length must be less than or equal to `128`") # noqa: E501
688
+ if (self._configuration.client_side_validation and
689
+ conan_prefix is not None and len(conan_prefix) < 1):
690
+ raise ValueError("Invalid value for `conan_prefix`, length must be greater than or equal to `1`") # noqa: E501
691
+
692
+ self._conan_prefix = conan_prefix
693
+
694
+ @property
695
+ def dependencies_checksum_md5(self):
696
+ """Gets the dependencies_checksum_md5 of this ConanPackageUpload.
697
+
698
+ A checksum of all of the package's dependencies.
699
+
700
+ :return: The dependencies_checksum_md5 of this ConanPackageUpload.
701
+ :rtype: str
702
+ """
703
+ return self._dependencies_checksum_md5
704
+
705
+ @dependencies_checksum_md5.setter
706
+ def dependencies_checksum_md5(self, dependencies_checksum_md5):
707
+ """Sets the dependencies_checksum_md5 of this ConanPackageUpload.
708
+
709
+ A checksum of all of the package's dependencies.
710
+
711
+ :param dependencies_checksum_md5: The dependencies_checksum_md5 of this ConanPackageUpload.
712
+ :type: str
713
+ """
714
+
715
+ self._dependencies_checksum_md5 = dependencies_checksum_md5
716
+
717
+ @property
718
+ def dependencies_url(self):
719
+ """Gets the dependencies_url of this ConanPackageUpload.
720
+
721
+
722
+ :return: The dependencies_url of this ConanPackageUpload.
723
+ :rtype: str
724
+ """
725
+ return self._dependencies_url
726
+
727
+ @dependencies_url.setter
728
+ def dependencies_url(self, dependencies_url):
729
+ """Sets the dependencies_url of this ConanPackageUpload.
730
+
731
+
732
+ :param dependencies_url: The dependencies_url of this ConanPackageUpload.
733
+ :type: str
734
+ """
735
+
736
+ self._dependencies_url = dependencies_url
737
+
738
+ @property
739
+ def description(self):
740
+ """Gets the description of this ConanPackageUpload.
741
+
742
+ A textual description of this package.
743
+
744
+ :return: The description of this ConanPackageUpload.
745
+ :rtype: str
746
+ """
747
+ return self._description
748
+
749
+ @description.setter
750
+ def description(self, description):
751
+ """Sets the description of this ConanPackageUpload.
752
+
753
+ A textual description of this package.
754
+
755
+ :param description: The description of this ConanPackageUpload.
756
+ :type: str
757
+ """
758
+
759
+ self._description = description
760
+
761
+ @property
762
+ def display_name(self):
763
+ """Gets the display_name of this ConanPackageUpload.
764
+
765
+
766
+ :return: The display_name of this ConanPackageUpload.
767
+ :rtype: str
768
+ """
769
+ return self._display_name
770
+
771
+ @display_name.setter
772
+ def display_name(self, display_name):
773
+ """Sets the display_name of this ConanPackageUpload.
774
+
775
+
776
+ :param display_name: The display_name of this ConanPackageUpload.
777
+ :type: str
778
+ """
779
+
780
+ self._display_name = display_name
781
+
782
+ @property
783
+ def distro(self):
784
+ """Gets the distro of this ConanPackageUpload.
785
+
786
+
787
+ :return: The distro of this ConanPackageUpload.
788
+ :rtype: Distribution
789
+ """
790
+ return self._distro
791
+
792
+ @distro.setter
793
+ def distro(self, distro):
794
+ """Sets the distro of this ConanPackageUpload.
795
+
796
+
797
+ :param distro: The distro of this ConanPackageUpload.
798
+ :type: Distribution
799
+ """
800
+
801
+ self._distro = distro
802
+
803
+ @property
804
+ def distro_version(self):
805
+ """Gets the distro_version of this ConanPackageUpload.
806
+
807
+
808
+ :return: The distro_version of this ConanPackageUpload.
809
+ :rtype: DistributionVersion
810
+ """
811
+ return self._distro_version
812
+
813
+ @distro_version.setter
814
+ def distro_version(self, distro_version):
815
+ """Sets the distro_version of this ConanPackageUpload.
816
+
817
+
818
+ :param distro_version: The distro_version of this ConanPackageUpload.
819
+ :type: DistributionVersion
820
+ """
821
+
822
+ self._distro_version = distro_version
823
+
824
+ @property
825
+ def downloads(self):
826
+ """Gets the downloads of this ConanPackageUpload.
827
+
828
+
829
+ :return: The downloads of this ConanPackageUpload.
830
+ :rtype: int
831
+ """
832
+ return self._downloads
833
+
834
+ @downloads.setter
835
+ def downloads(self, downloads):
836
+ """Sets the downloads of this ConanPackageUpload.
837
+
838
+
839
+ :param downloads: The downloads of this ConanPackageUpload.
840
+ :type: int
841
+ """
842
+
843
+ self._downloads = downloads
844
+
845
+ @property
846
+ def epoch(self):
847
+ """Gets the epoch of this ConanPackageUpload.
848
+
849
+ The epoch of the package version (if any).
850
+
851
+ :return: The epoch of this ConanPackageUpload.
852
+ :rtype: int
853
+ """
854
+ return self._epoch
855
+
856
+ @epoch.setter
857
+ def epoch(self, epoch):
858
+ """Sets the epoch of this ConanPackageUpload.
859
+
860
+ The epoch of the package version (if any).
861
+
862
+ :param epoch: The epoch of this ConanPackageUpload.
863
+ :type: int
864
+ """
865
+
866
+ self._epoch = epoch
867
+
868
+ @property
869
+ def extension(self):
870
+ """Gets the extension of this ConanPackageUpload.
871
+
872
+
873
+ :return: The extension of this ConanPackageUpload.
874
+ :rtype: str
875
+ """
876
+ return self._extension
877
+
878
+ @extension.setter
879
+ def extension(self, extension):
880
+ """Sets the extension of this ConanPackageUpload.
881
+
882
+
883
+ :param extension: The extension of this ConanPackageUpload.
884
+ :type: str
885
+ """
886
+
887
+ self._extension = extension
888
+
889
+ @property
890
+ def filename(self):
891
+ """Gets the filename of this ConanPackageUpload.
892
+
893
+
894
+ :return: The filename of this ConanPackageUpload.
895
+ :rtype: str
896
+ """
897
+ return self._filename
898
+
899
+ @filename.setter
900
+ def filename(self, filename):
901
+ """Sets the filename of this ConanPackageUpload.
902
+
903
+
904
+ :param filename: The filename of this ConanPackageUpload.
905
+ :type: str
906
+ """
907
+ if (self._configuration.client_side_validation and
908
+ filename is not None and len(filename) < 1):
909
+ raise ValueError("Invalid value for `filename`, length must be greater than or equal to `1`") # noqa: E501
910
+
911
+ self._filename = filename
912
+
913
+ @property
914
+ def files(self):
915
+ """Gets the files of this ConanPackageUpload.
916
+
917
+
918
+ :return: The files of this ConanPackageUpload.
919
+ :rtype: list[PackageFile]
920
+ """
921
+ return self._files
922
+
923
+ @files.setter
924
+ def files(self, files):
925
+ """Sets the files of this ConanPackageUpload.
926
+
927
+
928
+ :param files: The files of this ConanPackageUpload.
929
+ :type: list[PackageFile]
930
+ """
931
+
932
+ self._files = files
933
+
934
+ @property
935
+ def format(self):
936
+ """Gets the format of this ConanPackageUpload.
937
+
938
+
939
+ :return: The format of this ConanPackageUpload.
940
+ :rtype: str
941
+ """
942
+ return self._format
943
+
944
+ @format.setter
945
+ def format(self, format):
946
+ """Sets the format of this ConanPackageUpload.
947
+
948
+
949
+ :param format: The format of this ConanPackageUpload.
950
+ :type: str
951
+ """
952
+ if (self._configuration.client_side_validation and
953
+ format is not None and len(format) < 1):
954
+ raise ValueError("Invalid value for `format`, length must be greater than or equal to `1`") # noqa: E501
955
+
956
+ self._format = format
957
+
958
+ @property
959
+ def format_url(self):
960
+ """Gets the format_url of this ConanPackageUpload.
961
+
962
+
963
+ :return: The format_url of this ConanPackageUpload.
964
+ :rtype: str
965
+ """
966
+ return self._format_url
967
+
968
+ @format_url.setter
969
+ def format_url(self, format_url):
970
+ """Sets the format_url of this ConanPackageUpload.
971
+
972
+
973
+ :param format_url: The format_url of this ConanPackageUpload.
974
+ :type: str
975
+ """
976
+
977
+ self._format_url = format_url
978
+
979
+ @property
980
+ def freeable_storage(self):
981
+ """Gets the freeable_storage of this ConanPackageUpload.
982
+
983
+ Amount of storage that will be freed if this package is deleted
984
+
985
+ :return: The freeable_storage of this ConanPackageUpload.
986
+ :rtype: int
987
+ """
988
+ return self._freeable_storage
989
+
990
+ @freeable_storage.setter
991
+ def freeable_storage(self, freeable_storage):
992
+ """Sets the freeable_storage of this ConanPackageUpload.
993
+
994
+ Amount of storage that will be freed if this package is deleted
995
+
996
+ :param freeable_storage: The freeable_storage of this ConanPackageUpload.
997
+ :type: int
998
+ """
999
+
1000
+ self._freeable_storage = freeable_storage
1001
+
1002
+ @property
1003
+ def fully_qualified_name(self):
1004
+ """Gets the fully_qualified_name of this ConanPackageUpload.
1005
+
1006
+
1007
+ :return: The fully_qualified_name of this ConanPackageUpload.
1008
+ :rtype: str
1009
+ """
1010
+ return self._fully_qualified_name
1011
+
1012
+ @fully_qualified_name.setter
1013
+ def fully_qualified_name(self, fully_qualified_name):
1014
+ """Sets the fully_qualified_name of this ConanPackageUpload.
1015
+
1016
+
1017
+ :param fully_qualified_name: The fully_qualified_name of this ConanPackageUpload.
1018
+ :type: str
1019
+ """
1020
+ if (self._configuration.client_side_validation and
1021
+ fully_qualified_name is not None and len(fully_qualified_name) < 1):
1022
+ raise ValueError("Invalid value for `fully_qualified_name`, length must be greater than or equal to `1`") # noqa: E501
1023
+
1024
+ self._fully_qualified_name = fully_qualified_name
1025
+
1026
+ @property
1027
+ def identifier_perm(self):
1028
+ """Gets the identifier_perm of this ConanPackageUpload.
1029
+
1030
+ Unique and permanent identifier for the package.
1031
+
1032
+ :return: The identifier_perm of this ConanPackageUpload.
1033
+ :rtype: str
1034
+ """
1035
+ return self._identifier_perm
1036
+
1037
+ @identifier_perm.setter
1038
+ def identifier_perm(self, identifier_perm):
1039
+ """Sets the identifier_perm of this ConanPackageUpload.
1040
+
1041
+ Unique and permanent identifier for the package.
1042
+
1043
+ :param identifier_perm: The identifier_perm of this ConanPackageUpload.
1044
+ :type: str
1045
+ """
1046
+ if (self._configuration.client_side_validation and
1047
+ identifier_perm is not None and len(identifier_perm) < 1):
1048
+ raise ValueError("Invalid value for `identifier_perm`, length must be greater than or equal to `1`") # noqa: E501
1049
+
1050
+ self._identifier_perm = identifier_perm
1051
+
1052
+ @property
1053
+ def identifiers(self):
1054
+ """Gets the identifiers of this ConanPackageUpload.
1055
+
1056
+ Return a map of identifier field names and their values.
1057
+
1058
+ :return: The identifiers of this ConanPackageUpload.
1059
+ :rtype: dict(str, str)
1060
+ """
1061
+ return self._identifiers
1062
+
1063
+ @identifiers.setter
1064
+ def identifiers(self, identifiers):
1065
+ """Sets the identifiers of this ConanPackageUpload.
1066
+
1067
+ Return a map of identifier field names and their values.
1068
+
1069
+ :param identifiers: The identifiers of this ConanPackageUpload.
1070
+ :type: dict(str, str)
1071
+ """
1072
+
1073
+ self._identifiers = identifiers
1074
+
1075
+ @property
1076
+ def indexed(self):
1077
+ """Gets the indexed of this ConanPackageUpload.
1078
+
1079
+
1080
+ :return: The indexed of this ConanPackageUpload.
1081
+ :rtype: bool
1082
+ """
1083
+ return self._indexed
1084
+
1085
+ @indexed.setter
1086
+ def indexed(self, indexed):
1087
+ """Sets the indexed of this ConanPackageUpload.
1088
+
1089
+
1090
+ :param indexed: The indexed of this ConanPackageUpload.
1091
+ :type: bool
1092
+ """
1093
+
1094
+ self._indexed = indexed
1095
+
1096
+ @property
1097
+ def is_cancellable(self):
1098
+ """Gets the is_cancellable of this ConanPackageUpload.
1099
+
1100
+
1101
+ :return: The is_cancellable of this ConanPackageUpload.
1102
+ :rtype: bool
1103
+ """
1104
+ return self._is_cancellable
1105
+
1106
+ @is_cancellable.setter
1107
+ def is_cancellable(self, is_cancellable):
1108
+ """Sets the is_cancellable of this ConanPackageUpload.
1109
+
1110
+
1111
+ :param is_cancellable: The is_cancellable of this ConanPackageUpload.
1112
+ :type: bool
1113
+ """
1114
+
1115
+ self._is_cancellable = is_cancellable
1116
+
1117
+ @property
1118
+ def is_copyable(self):
1119
+ """Gets the is_copyable of this ConanPackageUpload.
1120
+
1121
+
1122
+ :return: The is_copyable of this ConanPackageUpload.
1123
+ :rtype: bool
1124
+ """
1125
+ return self._is_copyable
1126
+
1127
+ @is_copyable.setter
1128
+ def is_copyable(self, is_copyable):
1129
+ """Sets the is_copyable of this ConanPackageUpload.
1130
+
1131
+
1132
+ :param is_copyable: The is_copyable of this ConanPackageUpload.
1133
+ :type: bool
1134
+ """
1135
+
1136
+ self._is_copyable = is_copyable
1137
+
1138
+ @property
1139
+ def is_deleteable(self):
1140
+ """Gets the is_deleteable of this ConanPackageUpload.
1141
+
1142
+
1143
+ :return: The is_deleteable of this ConanPackageUpload.
1144
+ :rtype: bool
1145
+ """
1146
+ return self._is_deleteable
1147
+
1148
+ @is_deleteable.setter
1149
+ def is_deleteable(self, is_deleteable):
1150
+ """Sets the is_deleteable of this ConanPackageUpload.
1151
+
1152
+
1153
+ :param is_deleteable: The is_deleteable of this ConanPackageUpload.
1154
+ :type: bool
1155
+ """
1156
+
1157
+ self._is_deleteable = is_deleteable
1158
+
1159
+ @property
1160
+ def is_downloadable(self):
1161
+ """Gets the is_downloadable of this ConanPackageUpload.
1162
+
1163
+
1164
+ :return: The is_downloadable of this ConanPackageUpload.
1165
+ :rtype: bool
1166
+ """
1167
+ return self._is_downloadable
1168
+
1169
+ @is_downloadable.setter
1170
+ def is_downloadable(self, is_downloadable):
1171
+ """Sets the is_downloadable of this ConanPackageUpload.
1172
+
1173
+
1174
+ :param is_downloadable: The is_downloadable of this ConanPackageUpload.
1175
+ :type: bool
1176
+ """
1177
+
1178
+ self._is_downloadable = is_downloadable
1179
+
1180
+ @property
1181
+ def is_hidden(self):
1182
+ """Gets the is_hidden of this ConanPackageUpload.
1183
+
1184
+
1185
+ :return: The is_hidden of this ConanPackageUpload.
1186
+ :rtype: bool
1187
+ """
1188
+ return self._is_hidden
1189
+
1190
+ @is_hidden.setter
1191
+ def is_hidden(self, is_hidden):
1192
+ """Sets the is_hidden of this ConanPackageUpload.
1193
+
1194
+
1195
+ :param is_hidden: The is_hidden of this ConanPackageUpload.
1196
+ :type: bool
1197
+ """
1198
+
1199
+ self._is_hidden = is_hidden
1200
+
1201
+ @property
1202
+ def is_malware_detected(self):
1203
+ """Gets the is_malware_detected of this ConanPackageUpload.
1204
+
1205
+ Whether the package has been detected as containing malware. Requires Ultra plan.
1206
+
1207
+ :return: The is_malware_detected of this ConanPackageUpload.
1208
+ :rtype: bool
1209
+ """
1210
+ return self._is_malware_detected
1211
+
1212
+ @is_malware_detected.setter
1213
+ def is_malware_detected(self, is_malware_detected):
1214
+ """Sets the is_malware_detected of this ConanPackageUpload.
1215
+
1216
+ Whether the package has been detected as containing malware. Requires Ultra plan.
1217
+
1218
+ :param is_malware_detected: The is_malware_detected of this ConanPackageUpload.
1219
+ :type: bool
1220
+ """
1221
+
1222
+ self._is_malware_detected = is_malware_detected
1223
+
1224
+ @property
1225
+ def is_moveable(self):
1226
+ """Gets the is_moveable of this ConanPackageUpload.
1227
+
1228
+
1229
+ :return: The is_moveable of this ConanPackageUpload.
1230
+ :rtype: bool
1231
+ """
1232
+ return self._is_moveable
1233
+
1234
+ @is_moveable.setter
1235
+ def is_moveable(self, is_moveable):
1236
+ """Sets the is_moveable of this ConanPackageUpload.
1237
+
1238
+
1239
+ :param is_moveable: The is_moveable of this ConanPackageUpload.
1240
+ :type: bool
1241
+ """
1242
+
1243
+ self._is_moveable = is_moveable
1244
+
1245
+ @property
1246
+ def is_quarantinable(self):
1247
+ """Gets the is_quarantinable of this ConanPackageUpload.
1248
+
1249
+
1250
+ :return: The is_quarantinable of this ConanPackageUpload.
1251
+ :rtype: bool
1252
+ """
1253
+ return self._is_quarantinable
1254
+
1255
+ @is_quarantinable.setter
1256
+ def is_quarantinable(self, is_quarantinable):
1257
+ """Sets the is_quarantinable of this ConanPackageUpload.
1258
+
1259
+
1260
+ :param is_quarantinable: The is_quarantinable of this ConanPackageUpload.
1261
+ :type: bool
1262
+ """
1263
+
1264
+ self._is_quarantinable = is_quarantinable
1265
+
1266
+ @property
1267
+ def is_quarantined(self):
1268
+ """Gets the is_quarantined of this ConanPackageUpload.
1269
+
1270
+
1271
+ :return: The is_quarantined of this ConanPackageUpload.
1272
+ :rtype: bool
1273
+ """
1274
+ return self._is_quarantined
1275
+
1276
+ @is_quarantined.setter
1277
+ def is_quarantined(self, is_quarantined):
1278
+ """Sets the is_quarantined of this ConanPackageUpload.
1279
+
1280
+
1281
+ :param is_quarantined: The is_quarantined of this ConanPackageUpload.
1282
+ :type: bool
1283
+ """
1284
+
1285
+ self._is_quarantined = is_quarantined
1286
+
1287
+ @property
1288
+ def is_resyncable(self):
1289
+ """Gets the is_resyncable of this ConanPackageUpload.
1290
+
1291
+
1292
+ :return: The is_resyncable of this ConanPackageUpload.
1293
+ :rtype: bool
1294
+ """
1295
+ return self._is_resyncable
1296
+
1297
+ @is_resyncable.setter
1298
+ def is_resyncable(self, is_resyncable):
1299
+ """Sets the is_resyncable of this ConanPackageUpload.
1300
+
1301
+
1302
+ :param is_resyncable: The is_resyncable of this ConanPackageUpload.
1303
+ :type: bool
1304
+ """
1305
+
1306
+ self._is_resyncable = is_resyncable
1307
+
1308
+ @property
1309
+ def is_security_scannable(self):
1310
+ """Gets the is_security_scannable of this ConanPackageUpload.
1311
+
1312
+
1313
+ :return: The is_security_scannable of this ConanPackageUpload.
1314
+ :rtype: bool
1315
+ """
1316
+ return self._is_security_scannable
1317
+
1318
+ @is_security_scannable.setter
1319
+ def is_security_scannable(self, is_security_scannable):
1320
+ """Sets the is_security_scannable of this ConanPackageUpload.
1321
+
1322
+
1323
+ :param is_security_scannable: The is_security_scannable of this ConanPackageUpload.
1324
+ :type: bool
1325
+ """
1326
+
1327
+ self._is_security_scannable = is_security_scannable
1328
+
1329
+ @property
1330
+ def is_sync_awaiting(self):
1331
+ """Gets the is_sync_awaiting of this ConanPackageUpload.
1332
+
1333
+
1334
+ :return: The is_sync_awaiting of this ConanPackageUpload.
1335
+ :rtype: bool
1336
+ """
1337
+ return self._is_sync_awaiting
1338
+
1339
+ @is_sync_awaiting.setter
1340
+ def is_sync_awaiting(self, is_sync_awaiting):
1341
+ """Sets the is_sync_awaiting of this ConanPackageUpload.
1342
+
1343
+
1344
+ :param is_sync_awaiting: The is_sync_awaiting of this ConanPackageUpload.
1345
+ :type: bool
1346
+ """
1347
+
1348
+ self._is_sync_awaiting = is_sync_awaiting
1349
+
1350
+ @property
1351
+ def is_sync_completed(self):
1352
+ """Gets the is_sync_completed of this ConanPackageUpload.
1353
+
1354
+
1355
+ :return: The is_sync_completed of this ConanPackageUpload.
1356
+ :rtype: bool
1357
+ """
1358
+ return self._is_sync_completed
1359
+
1360
+ @is_sync_completed.setter
1361
+ def is_sync_completed(self, is_sync_completed):
1362
+ """Sets the is_sync_completed of this ConanPackageUpload.
1363
+
1364
+
1365
+ :param is_sync_completed: The is_sync_completed of this ConanPackageUpload.
1366
+ :type: bool
1367
+ """
1368
+
1369
+ self._is_sync_completed = is_sync_completed
1370
+
1371
+ @property
1372
+ def is_sync_failed(self):
1373
+ """Gets the is_sync_failed of this ConanPackageUpload.
1374
+
1375
+
1376
+ :return: The is_sync_failed of this ConanPackageUpload.
1377
+ :rtype: bool
1378
+ """
1379
+ return self._is_sync_failed
1380
+
1381
+ @is_sync_failed.setter
1382
+ def is_sync_failed(self, is_sync_failed):
1383
+ """Sets the is_sync_failed of this ConanPackageUpload.
1384
+
1385
+
1386
+ :param is_sync_failed: The is_sync_failed of this ConanPackageUpload.
1387
+ :type: bool
1388
+ """
1389
+
1390
+ self._is_sync_failed = is_sync_failed
1391
+
1392
+ @property
1393
+ def is_sync_in_flight(self):
1394
+ """Gets the is_sync_in_flight of this ConanPackageUpload.
1395
+
1396
+
1397
+ :return: The is_sync_in_flight of this ConanPackageUpload.
1398
+ :rtype: bool
1399
+ """
1400
+ return self._is_sync_in_flight
1401
+
1402
+ @is_sync_in_flight.setter
1403
+ def is_sync_in_flight(self, is_sync_in_flight):
1404
+ """Sets the is_sync_in_flight of this ConanPackageUpload.
1405
+
1406
+
1407
+ :param is_sync_in_flight: The is_sync_in_flight of this ConanPackageUpload.
1408
+ :type: bool
1409
+ """
1410
+
1411
+ self._is_sync_in_flight = is_sync_in_flight
1412
+
1413
+ @property
1414
+ def is_sync_in_progress(self):
1415
+ """Gets the is_sync_in_progress of this ConanPackageUpload.
1416
+
1417
+
1418
+ :return: The is_sync_in_progress of this ConanPackageUpload.
1419
+ :rtype: bool
1420
+ """
1421
+ return self._is_sync_in_progress
1422
+
1423
+ @is_sync_in_progress.setter
1424
+ def is_sync_in_progress(self, is_sync_in_progress):
1425
+ """Sets the is_sync_in_progress of this ConanPackageUpload.
1426
+
1427
+
1428
+ :param is_sync_in_progress: The is_sync_in_progress of this ConanPackageUpload.
1429
+ :type: bool
1430
+ """
1431
+
1432
+ self._is_sync_in_progress = is_sync_in_progress
1433
+
1434
+ @property
1435
+ def license(self):
1436
+ """Gets the license of this ConanPackageUpload.
1437
+
1438
+ The license of this package.
1439
+
1440
+ :return: The license of this ConanPackageUpload.
1441
+ :rtype: str
1442
+ """
1443
+ return self._license
1444
+
1445
+ @license.setter
1446
+ def license(self, license):
1447
+ """Sets the license of this ConanPackageUpload.
1448
+
1449
+ The license of this package.
1450
+
1451
+ :param license: The license of this ConanPackageUpload.
1452
+ :type: str
1453
+ """
1454
+
1455
+ self._license = license
1456
+
1457
+ @property
1458
+ def name(self):
1459
+ """Gets the name of this ConanPackageUpload.
1460
+
1461
+ The name of this package.
1462
+
1463
+ :return: The name of this ConanPackageUpload.
1464
+ :rtype: str
1465
+ """
1466
+ return self._name
1467
+
1468
+ @name.setter
1469
+ def name(self, name):
1470
+ """Sets the name of this ConanPackageUpload.
1471
+
1472
+ The name of this package.
1473
+
1474
+ :param name: The name of this ConanPackageUpload.
1475
+ :type: str
1476
+ """
1477
+ if (self._configuration.client_side_validation and
1478
+ name is not None and len(name) > 200):
1479
+ raise ValueError("Invalid value for `name`, length must be less than or equal to `200`") # noqa: E501
1480
+
1481
+ self._name = name
1482
+
1483
+ @property
1484
+ def namespace(self):
1485
+ """Gets the namespace of this ConanPackageUpload.
1486
+
1487
+
1488
+ :return: The namespace of this ConanPackageUpload.
1489
+ :rtype: str
1490
+ """
1491
+ return self._namespace
1492
+
1493
+ @namespace.setter
1494
+ def namespace(self, namespace):
1495
+ """Sets the namespace of this ConanPackageUpload.
1496
+
1497
+
1498
+ :param namespace: The namespace of this ConanPackageUpload.
1499
+ :type: str
1500
+ """
1501
+ if (self._configuration.client_side_validation and
1502
+ namespace is not None and len(namespace) < 1):
1503
+ raise ValueError("Invalid value for `namespace`, length must be greater than or equal to `1`") # noqa: E501
1504
+
1505
+ self._namespace = namespace
1506
+
1507
+ @property
1508
+ def namespace_url(self):
1509
+ """Gets the namespace_url of this ConanPackageUpload.
1510
+
1511
+
1512
+ :return: The namespace_url of this ConanPackageUpload.
1513
+ :rtype: str
1514
+ """
1515
+ return self._namespace_url
1516
+
1517
+ @namespace_url.setter
1518
+ def namespace_url(self, namespace_url):
1519
+ """Sets the namespace_url of this ConanPackageUpload.
1520
+
1521
+
1522
+ :param namespace_url: The namespace_url of this ConanPackageUpload.
1523
+ :type: str
1524
+ """
1525
+
1526
+ self._namespace_url = namespace_url
1527
+
1528
+ @property
1529
+ def num_files(self):
1530
+ """Gets the num_files of this ConanPackageUpload.
1531
+
1532
+
1533
+ :return: The num_files of this ConanPackageUpload.
1534
+ :rtype: int
1535
+ """
1536
+ return self._num_files
1537
+
1538
+ @num_files.setter
1539
+ def num_files(self, num_files):
1540
+ """Sets the num_files of this ConanPackageUpload.
1541
+
1542
+
1543
+ :param num_files: The num_files of this ConanPackageUpload.
1544
+ :type: int
1545
+ """
1546
+
1547
+ self._num_files = num_files
1548
+
1549
+ @property
1550
+ def origin_repository(self):
1551
+ """Gets the origin_repository of this ConanPackageUpload.
1552
+
1553
+
1554
+ :return: The origin_repository of this ConanPackageUpload.
1555
+ :rtype: str
1556
+ """
1557
+ return self._origin_repository
1558
+
1559
+ @origin_repository.setter
1560
+ def origin_repository(self, origin_repository):
1561
+ """Sets the origin_repository of this ConanPackageUpload.
1562
+
1563
+
1564
+ :param origin_repository: The origin_repository of this ConanPackageUpload.
1565
+ :type: str
1566
+ """
1567
+ if (self._configuration.client_side_validation and
1568
+ origin_repository is not None and len(origin_repository) < 1):
1569
+ raise ValueError("Invalid value for `origin_repository`, length must be greater than or equal to `1`") # noqa: E501
1570
+
1571
+ self._origin_repository = origin_repository
1572
+
1573
+ @property
1574
+ def origin_repository_url(self):
1575
+ """Gets the origin_repository_url of this ConanPackageUpload.
1576
+
1577
+
1578
+ :return: The origin_repository_url of this ConanPackageUpload.
1579
+ :rtype: str
1580
+ """
1581
+ return self._origin_repository_url
1582
+
1583
+ @origin_repository_url.setter
1584
+ def origin_repository_url(self, origin_repository_url):
1585
+ """Sets the origin_repository_url of this ConanPackageUpload.
1586
+
1587
+
1588
+ :param origin_repository_url: The origin_repository_url of this ConanPackageUpload.
1589
+ :type: str
1590
+ """
1591
+
1592
+ self._origin_repository_url = origin_repository_url
1593
+
1594
+ @property
1595
+ def osi_approved(self):
1596
+ """Gets the osi_approved of this ConanPackageUpload.
1597
+
1598
+ Whether the package's SPDX license is OSI-approved.
1599
+
1600
+ :return: The osi_approved of this ConanPackageUpload.
1601
+ :rtype: bool
1602
+ """
1603
+ return self._osi_approved
1604
+
1605
+ @osi_approved.setter
1606
+ def osi_approved(self, osi_approved):
1607
+ """Sets the osi_approved of this ConanPackageUpload.
1608
+
1609
+ Whether the package's SPDX license is OSI-approved.
1610
+
1611
+ :param osi_approved: The osi_approved of this ConanPackageUpload.
1612
+ :type: bool
1613
+ """
1614
+
1615
+ self._osi_approved = osi_approved
1616
+
1617
+ @property
1618
+ def package_type(self):
1619
+ """Gets the package_type of this ConanPackageUpload.
1620
+
1621
+ The type of package contents.
1622
+
1623
+ :return: The package_type of this ConanPackageUpload.
1624
+ :rtype: int
1625
+ """
1626
+ return self._package_type
1627
+
1628
+ @package_type.setter
1629
+ def package_type(self, package_type):
1630
+ """Sets the package_type of this ConanPackageUpload.
1631
+
1632
+ The type of package contents.
1633
+
1634
+ :param package_type: The package_type of this ConanPackageUpload.
1635
+ :type: int
1636
+ """
1637
+
1638
+ self._package_type = package_type
1639
+
1640
+ @property
1641
+ def policy_violated(self):
1642
+ """Gets the policy_violated of this ConanPackageUpload.
1643
+
1644
+ Whether or not the package has violated any policy.
1645
+
1646
+ :return: The policy_violated of this ConanPackageUpload.
1647
+ :rtype: bool
1648
+ """
1649
+ return self._policy_violated
1650
+
1651
+ @policy_violated.setter
1652
+ def policy_violated(self, policy_violated):
1653
+ """Sets the policy_violated of this ConanPackageUpload.
1654
+
1655
+ Whether or not the package has violated any policy.
1656
+
1657
+ :param policy_violated: The policy_violated of this ConanPackageUpload.
1658
+ :type: bool
1659
+ """
1660
+
1661
+ self._policy_violated = policy_violated
1662
+
1663
+ @property
1664
+ def raw_license(self):
1665
+ """Gets the raw_license of this ConanPackageUpload.
1666
+
1667
+ The raw license string.
1668
+
1669
+ :return: The raw_license of this ConanPackageUpload.
1670
+ :rtype: str
1671
+ """
1672
+ return self._raw_license
1673
+
1674
+ @raw_license.setter
1675
+ def raw_license(self, raw_license):
1676
+ """Sets the raw_license of this ConanPackageUpload.
1677
+
1678
+ The raw license string.
1679
+
1680
+ :param raw_license: The raw_license of this ConanPackageUpload.
1681
+ :type: str
1682
+ """
1683
+ if (self._configuration.client_side_validation and
1684
+ raw_license is not None and len(raw_license) < 1):
1685
+ raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501
1686
+
1687
+ self._raw_license = raw_license
1688
+
1689
+ @property
1690
+ def release(self):
1691
+ """Gets the release of this ConanPackageUpload.
1692
+
1693
+ The release of the package version (if any).
1694
+
1695
+ :return: The release of this ConanPackageUpload.
1696
+ :rtype: str
1697
+ """
1698
+ return self._release
1699
+
1700
+ @release.setter
1701
+ def release(self, release):
1702
+ """Sets the release of this ConanPackageUpload.
1703
+
1704
+ The release of the package version (if any).
1705
+
1706
+ :param release: The release of this ConanPackageUpload.
1707
+ :type: str
1708
+ """
1709
+
1710
+ self._release = release
1711
+
1712
+ @property
1713
+ def repository(self):
1714
+ """Gets the repository of this ConanPackageUpload.
1715
+
1716
+
1717
+ :return: The repository of this ConanPackageUpload.
1718
+ :rtype: str
1719
+ """
1720
+ return self._repository
1721
+
1722
+ @repository.setter
1723
+ def repository(self, repository):
1724
+ """Sets the repository of this ConanPackageUpload.
1725
+
1726
+
1727
+ :param repository: The repository of this ConanPackageUpload.
1728
+ :type: str
1729
+ """
1730
+ if (self._configuration.client_side_validation and
1731
+ repository is not None and len(repository) < 1):
1732
+ raise ValueError("Invalid value for `repository`, length must be greater than or equal to `1`") # noqa: E501
1733
+
1734
+ self._repository = repository
1735
+
1736
+ @property
1737
+ def repository_url(self):
1738
+ """Gets the repository_url of this ConanPackageUpload.
1739
+
1740
+
1741
+ :return: The repository_url of this ConanPackageUpload.
1742
+ :rtype: str
1743
+ """
1744
+ return self._repository_url
1745
+
1746
+ @repository_url.setter
1747
+ def repository_url(self, repository_url):
1748
+ """Sets the repository_url of this ConanPackageUpload.
1749
+
1750
+
1751
+ :param repository_url: The repository_url of this ConanPackageUpload.
1752
+ :type: str
1753
+ """
1754
+
1755
+ self._repository_url = repository_url
1756
+
1757
+ @property
1758
+ def security_scan_completed_at(self):
1759
+ """Gets the security_scan_completed_at of this ConanPackageUpload.
1760
+
1761
+ The datetime the security scanning was completed.
1762
+
1763
+ :return: The security_scan_completed_at of this ConanPackageUpload.
1764
+ :rtype: datetime
1765
+ """
1766
+ return self._security_scan_completed_at
1767
+
1768
+ @security_scan_completed_at.setter
1769
+ def security_scan_completed_at(self, security_scan_completed_at):
1770
+ """Sets the security_scan_completed_at of this ConanPackageUpload.
1771
+
1772
+ The datetime the security scanning was completed.
1773
+
1774
+ :param security_scan_completed_at: The security_scan_completed_at of this ConanPackageUpload.
1775
+ :type: datetime
1776
+ """
1777
+
1778
+ self._security_scan_completed_at = security_scan_completed_at
1779
+
1780
+ @property
1781
+ def security_scan_started_at(self):
1782
+ """Gets the security_scan_started_at of this ConanPackageUpload.
1783
+
1784
+ The datetime the security scanning was started.
1785
+
1786
+ :return: The security_scan_started_at of this ConanPackageUpload.
1787
+ :rtype: datetime
1788
+ """
1789
+ return self._security_scan_started_at
1790
+
1791
+ @security_scan_started_at.setter
1792
+ def security_scan_started_at(self, security_scan_started_at):
1793
+ """Sets the security_scan_started_at of this ConanPackageUpload.
1794
+
1795
+ The datetime the security scanning was started.
1796
+
1797
+ :param security_scan_started_at: The security_scan_started_at of this ConanPackageUpload.
1798
+ :type: datetime
1799
+ """
1800
+
1801
+ self._security_scan_started_at = security_scan_started_at
1802
+
1803
+ @property
1804
+ def security_scan_status(self):
1805
+ """Gets the security_scan_status of this ConanPackageUpload.
1806
+
1807
+
1808
+ :return: The security_scan_status of this ConanPackageUpload.
1809
+ :rtype: str
1810
+ """
1811
+ return self._security_scan_status
1812
+
1813
+ @security_scan_status.setter
1814
+ def security_scan_status(self, security_scan_status):
1815
+ """Sets the security_scan_status of this ConanPackageUpload.
1816
+
1817
+
1818
+ :param security_scan_status: The security_scan_status of this ConanPackageUpload.
1819
+ :type: str
1820
+ """
1821
+ 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
1822
+ if (self._configuration.client_side_validation and
1823
+ security_scan_status not in allowed_values):
1824
+ raise ValueError(
1825
+ "Invalid value for `security_scan_status` ({0}), must be one of {1}" # noqa: E501
1826
+ .format(security_scan_status, allowed_values)
1827
+ )
1828
+
1829
+ self._security_scan_status = security_scan_status
1830
+
1831
+ @property
1832
+ def security_scan_status_updated_at(self):
1833
+ """Gets the security_scan_status_updated_at of this ConanPackageUpload.
1834
+
1835
+ The datetime the security scanning status was updated.
1836
+
1837
+ :return: The security_scan_status_updated_at of this ConanPackageUpload.
1838
+ :rtype: datetime
1839
+ """
1840
+ return self._security_scan_status_updated_at
1841
+
1842
+ @security_scan_status_updated_at.setter
1843
+ def security_scan_status_updated_at(self, security_scan_status_updated_at):
1844
+ """Sets the security_scan_status_updated_at of this ConanPackageUpload.
1845
+
1846
+ The datetime the security scanning status was updated.
1847
+
1848
+ :param security_scan_status_updated_at: The security_scan_status_updated_at of this ConanPackageUpload.
1849
+ :type: datetime
1850
+ """
1851
+
1852
+ self._security_scan_status_updated_at = security_scan_status_updated_at
1853
+
1854
+ @property
1855
+ def self_html_url(self):
1856
+ """Gets the self_html_url of this ConanPackageUpload.
1857
+
1858
+
1859
+ :return: The self_html_url of this ConanPackageUpload.
1860
+ :rtype: str
1861
+ """
1862
+ return self._self_html_url
1863
+
1864
+ @self_html_url.setter
1865
+ def self_html_url(self, self_html_url):
1866
+ """Sets the self_html_url of this ConanPackageUpload.
1867
+
1868
+
1869
+ :param self_html_url: The self_html_url of this ConanPackageUpload.
1870
+ :type: str
1871
+ """
1872
+ if (self._configuration.client_side_validation and
1873
+ self_html_url is not None and len(self_html_url) < 1):
1874
+ raise ValueError("Invalid value for `self_html_url`, length must be greater than or equal to `1`") # noqa: E501
1875
+
1876
+ self._self_html_url = self_html_url
1877
+
1878
+ @property
1879
+ def self_url(self):
1880
+ """Gets the self_url of this ConanPackageUpload.
1881
+
1882
+
1883
+ :return: The self_url of this ConanPackageUpload.
1884
+ :rtype: str
1885
+ """
1886
+ return self._self_url
1887
+
1888
+ @self_url.setter
1889
+ def self_url(self, self_url):
1890
+ """Sets the self_url of this ConanPackageUpload.
1891
+
1892
+
1893
+ :param self_url: The self_url of this ConanPackageUpload.
1894
+ :type: str
1895
+ """
1896
+
1897
+ self._self_url = self_url
1898
+
1899
+ @property
1900
+ def self_webapp_url(self):
1901
+ """Gets the self_webapp_url of this ConanPackageUpload.
1902
+
1903
+
1904
+ :return: The self_webapp_url of this ConanPackageUpload.
1905
+ :rtype: str
1906
+ """
1907
+ return self._self_webapp_url
1908
+
1909
+ @self_webapp_url.setter
1910
+ def self_webapp_url(self, self_webapp_url):
1911
+ """Sets the self_webapp_url of this ConanPackageUpload.
1912
+
1913
+
1914
+ :param self_webapp_url: The self_webapp_url of this ConanPackageUpload.
1915
+ :type: str
1916
+ """
1917
+ if (self._configuration.client_side_validation and
1918
+ self_webapp_url is not None and len(self_webapp_url) < 1):
1919
+ raise ValueError("Invalid value for `self_webapp_url`, length must be greater than or equal to `1`") # noqa: E501
1920
+
1921
+ self._self_webapp_url = self_webapp_url
1922
+
1923
+ @property
1924
+ def signature_url(self):
1925
+ """Gets the signature_url of this ConanPackageUpload.
1926
+
1927
+
1928
+ :return: The signature_url of this ConanPackageUpload.
1929
+ :rtype: str
1930
+ """
1931
+ return self._signature_url
1932
+
1933
+ @signature_url.setter
1934
+ def signature_url(self, signature_url):
1935
+ """Sets the signature_url of this ConanPackageUpload.
1936
+
1937
+
1938
+ :param signature_url: The signature_url of this ConanPackageUpload.
1939
+ :type: str
1940
+ """
1941
+
1942
+ self._signature_url = signature_url
1943
+
1944
+ @property
1945
+ def size(self):
1946
+ """Gets the size of this ConanPackageUpload.
1947
+
1948
+ The calculated size of the package.
1949
+
1950
+ :return: The size of this ConanPackageUpload.
1951
+ :rtype: int
1952
+ """
1953
+ return self._size
1954
+
1955
+ @size.setter
1956
+ def size(self, size):
1957
+ """Sets the size of this ConanPackageUpload.
1958
+
1959
+ The calculated size of the package.
1960
+
1961
+ :param size: The size of this ConanPackageUpload.
1962
+ :type: int
1963
+ """
1964
+
1965
+ self._size = size
1966
+
1967
+ @property
1968
+ def slug(self):
1969
+ """Gets the slug of this ConanPackageUpload.
1970
+
1971
+ The public unique identifier for the package.
1972
+
1973
+ :return: The slug of this ConanPackageUpload.
1974
+ :rtype: str
1975
+ """
1976
+ return self._slug
1977
+
1978
+ @slug.setter
1979
+ def slug(self, slug):
1980
+ """Sets the slug of this ConanPackageUpload.
1981
+
1982
+ The public unique identifier for the package.
1983
+
1984
+ :param slug: The slug of this ConanPackageUpload.
1985
+ :type: str
1986
+ """
1987
+ if (self._configuration.client_side_validation and
1988
+ slug is not None and len(slug) < 1):
1989
+ raise ValueError("Invalid value for `slug`, length must be greater than or equal to `1`") # noqa: E501
1990
+ if (self._configuration.client_side_validation and
1991
+ slug is not None and not re.search('^[-a-zA-Z0-9_]+$', slug)): # noqa: E501
1992
+ raise ValueError(r"Invalid value for `slug`, must be a follow pattern or equal to `/^[-a-zA-Z0-9_]+$/`") # noqa: E501
1993
+
1994
+ self._slug = slug
1995
+
1996
+ @property
1997
+ def slug_perm(self):
1998
+ """Gets the slug_perm of this ConanPackageUpload.
1999
+
2000
+
2001
+ :return: The slug_perm of this ConanPackageUpload.
2002
+ :rtype: str
2003
+ """
2004
+ return self._slug_perm
2005
+
2006
+ @slug_perm.setter
2007
+ def slug_perm(self, slug_perm):
2008
+ """Sets the slug_perm of this ConanPackageUpload.
2009
+
2010
+
2011
+ :param slug_perm: The slug_perm of this ConanPackageUpload.
2012
+ :type: str
2013
+ """
2014
+ if (self._configuration.client_side_validation and
2015
+ slug_perm is not None and len(slug_perm) < 1):
2016
+ raise ValueError("Invalid value for `slug_perm`, length must be greater than or equal to `1`") # noqa: E501
2017
+ if (self._configuration.client_side_validation and
2018
+ slug_perm is not None and not re.search('^[-a-zA-Z0-9_]+$', slug_perm)): # noqa: E501
2019
+ raise ValueError(r"Invalid value for `slug_perm`, must be a follow pattern or equal to `/^[-a-zA-Z0-9_]+$/`") # noqa: E501
2020
+
2021
+ self._slug_perm = slug_perm
2022
+
2023
+ @property
2024
+ def spdx_license(self):
2025
+ """Gets the spdx_license of this ConanPackageUpload.
2026
+
2027
+ The SPDX license identifier for this package.
2028
+
2029
+ :return: The spdx_license of this ConanPackageUpload.
2030
+ :rtype: str
2031
+ """
2032
+ return self._spdx_license
2033
+
2034
+ @spdx_license.setter
2035
+ def spdx_license(self, spdx_license):
2036
+ """Sets the spdx_license of this ConanPackageUpload.
2037
+
2038
+ The SPDX license identifier for this package.
2039
+
2040
+ :param spdx_license: The spdx_license of this ConanPackageUpload.
2041
+ :type: str
2042
+ """
2043
+ if (self._configuration.client_side_validation and
2044
+ spdx_license is not None and len(spdx_license) < 1):
2045
+ raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501
2046
+
2047
+ self._spdx_license = spdx_license
2048
+
2049
+ @property
2050
+ def stage(self):
2051
+ """Gets the stage of this ConanPackageUpload.
2052
+
2053
+ The synchronisation (in progress) stage of the package.
2054
+
2055
+ :return: The stage of this ConanPackageUpload.
2056
+ :rtype: int
2057
+ """
2058
+ return self._stage
2059
+
2060
+ @stage.setter
2061
+ def stage(self, stage):
2062
+ """Sets the stage of this ConanPackageUpload.
2063
+
2064
+ The synchronisation (in progress) stage of the package.
2065
+
2066
+ :param stage: The stage of this ConanPackageUpload.
2067
+ :type: int
2068
+ """
2069
+
2070
+ self._stage = stage
2071
+
2072
+ @property
2073
+ def stage_str(self):
2074
+ """Gets the stage_str of this ConanPackageUpload.
2075
+
2076
+
2077
+ :return: The stage_str of this ConanPackageUpload.
2078
+ :rtype: str
2079
+ """
2080
+ return self._stage_str
2081
+
2082
+ @stage_str.setter
2083
+ def stage_str(self, stage_str):
2084
+ """Sets the stage_str of this ConanPackageUpload.
2085
+
2086
+
2087
+ :param stage_str: The stage_str of this ConanPackageUpload.
2088
+ :type: str
2089
+ """
2090
+
2091
+ self._stage_str = stage_str
2092
+
2093
+ @property
2094
+ def stage_updated_at(self):
2095
+ """Gets the stage_updated_at of this ConanPackageUpload.
2096
+
2097
+ The datetime the package stage was updated at.
2098
+
2099
+ :return: The stage_updated_at of this ConanPackageUpload.
2100
+ :rtype: datetime
2101
+ """
2102
+ return self._stage_updated_at
2103
+
2104
+ @stage_updated_at.setter
2105
+ def stage_updated_at(self, stage_updated_at):
2106
+ """Sets the stage_updated_at of this ConanPackageUpload.
2107
+
2108
+ The datetime the package stage was updated at.
2109
+
2110
+ :param stage_updated_at: The stage_updated_at of this ConanPackageUpload.
2111
+ :type: datetime
2112
+ """
2113
+
2114
+ self._stage_updated_at = stage_updated_at
2115
+
2116
+ @property
2117
+ def status(self):
2118
+ """Gets the status of this ConanPackageUpload.
2119
+
2120
+ The synchronisation status of the package.
2121
+
2122
+ :return: The status of this ConanPackageUpload.
2123
+ :rtype: int
2124
+ """
2125
+ return self._status
2126
+
2127
+ @status.setter
2128
+ def status(self, status):
2129
+ """Sets the status of this ConanPackageUpload.
2130
+
2131
+ The synchronisation status of the package.
2132
+
2133
+ :param status: The status of this ConanPackageUpload.
2134
+ :type: int
2135
+ """
2136
+
2137
+ self._status = status
2138
+
2139
+ @property
2140
+ def status_reason(self):
2141
+ """Gets the status_reason of this ConanPackageUpload.
2142
+
2143
+ A textual description for the synchronous status reason (if any
2144
+
2145
+ :return: The status_reason of this ConanPackageUpload.
2146
+ :rtype: str
2147
+ """
2148
+ return self._status_reason
2149
+
2150
+ @status_reason.setter
2151
+ def status_reason(self, status_reason):
2152
+ """Sets the status_reason of this ConanPackageUpload.
2153
+
2154
+ A textual description for the synchronous status reason (if any
2155
+
2156
+ :param status_reason: The status_reason of this ConanPackageUpload.
2157
+ :type: str
2158
+ """
2159
+
2160
+ self._status_reason = status_reason
2161
+
2162
+ @property
2163
+ def status_str(self):
2164
+ """Gets the status_str of this ConanPackageUpload.
2165
+
2166
+
2167
+ :return: The status_str of this ConanPackageUpload.
2168
+ :rtype: str
2169
+ """
2170
+ return self._status_str
2171
+
2172
+ @status_str.setter
2173
+ def status_str(self, status_str):
2174
+ """Sets the status_str of this ConanPackageUpload.
2175
+
2176
+
2177
+ :param status_str: The status_str of this ConanPackageUpload.
2178
+ :type: str
2179
+ """
2180
+
2181
+ self._status_str = status_str
2182
+
2183
+ @property
2184
+ def status_updated_at(self):
2185
+ """Gets the status_updated_at of this ConanPackageUpload.
2186
+
2187
+ The datetime the package status was updated at.
2188
+
2189
+ :return: The status_updated_at of this ConanPackageUpload.
2190
+ :rtype: datetime
2191
+ """
2192
+ return self._status_updated_at
2193
+
2194
+ @status_updated_at.setter
2195
+ def status_updated_at(self, status_updated_at):
2196
+ """Sets the status_updated_at of this ConanPackageUpload.
2197
+
2198
+ The datetime the package status was updated at.
2199
+
2200
+ :param status_updated_at: The status_updated_at of this ConanPackageUpload.
2201
+ :type: datetime
2202
+ """
2203
+
2204
+ self._status_updated_at = status_updated_at
2205
+
2206
+ @property
2207
+ def status_url(self):
2208
+ """Gets the status_url of this ConanPackageUpload.
2209
+
2210
+
2211
+ :return: The status_url of this ConanPackageUpload.
2212
+ :rtype: str
2213
+ """
2214
+ return self._status_url
2215
+
2216
+ @status_url.setter
2217
+ def status_url(self, status_url):
2218
+ """Sets the status_url of this ConanPackageUpload.
2219
+
2220
+
2221
+ :param status_url: The status_url of this ConanPackageUpload.
2222
+ :type: str
2223
+ """
2224
+
2225
+ self._status_url = status_url
2226
+
2227
+ @property
2228
+ def store_path(self):
2229
+ """Gets the store_path of this ConanPackageUpload.
2230
+
2231
+ Absolute store path for the package, including store hash and name.
2232
+
2233
+ :return: The store_path of this ConanPackageUpload.
2234
+ :rtype: str
2235
+ """
2236
+ return self._store_path
2237
+
2238
+ @store_path.setter
2239
+ def store_path(self, store_path):
2240
+ """Sets the store_path of this ConanPackageUpload.
2241
+
2242
+ Absolute store path for the package, including store hash and name.
2243
+
2244
+ :param store_path: The store_path of this ConanPackageUpload.
2245
+ :type: str
2246
+ """
2247
+ if (self._configuration.client_side_validation and
2248
+ store_path is not None and len(store_path) < 1):
2249
+ raise ValueError("Invalid value for `store_path`, length must be greater than or equal to `1`") # noqa: E501
2250
+
2251
+ self._store_path = store_path
2252
+
2253
+ @property
2254
+ def subtype(self):
2255
+ """Gets the subtype of this ConanPackageUpload.
2256
+
2257
+
2258
+ :return: The subtype of this ConanPackageUpload.
2259
+ :rtype: str
2260
+ """
2261
+ return self._subtype
2262
+
2263
+ @subtype.setter
2264
+ def subtype(self, subtype):
2265
+ """Sets the subtype of this ConanPackageUpload.
2266
+
2267
+
2268
+ :param subtype: The subtype of this ConanPackageUpload.
2269
+ :type: str
2270
+ """
2271
+
2272
+ self._subtype = subtype
2273
+
2274
+ @property
2275
+ def summary(self):
2276
+ """Gets the summary of this ConanPackageUpload.
2277
+
2278
+ A one-liner synopsis of this package.
2279
+
2280
+ :return: The summary of this ConanPackageUpload.
2281
+ :rtype: str
2282
+ """
2283
+ return self._summary
2284
+
2285
+ @summary.setter
2286
+ def summary(self, summary):
2287
+ """Sets the summary of this ConanPackageUpload.
2288
+
2289
+ A one-liner synopsis of this package.
2290
+
2291
+ :param summary: The summary of this ConanPackageUpload.
2292
+ :type: str
2293
+ """
2294
+
2295
+ self._summary = summary
2296
+
2297
+ @property
2298
+ def sync_finished_at(self):
2299
+ """Gets the sync_finished_at of this ConanPackageUpload.
2300
+
2301
+ The datetime the package sync was finished at.
2302
+
2303
+ :return: The sync_finished_at of this ConanPackageUpload.
2304
+ :rtype: datetime
2305
+ """
2306
+ return self._sync_finished_at
2307
+
2308
+ @sync_finished_at.setter
2309
+ def sync_finished_at(self, sync_finished_at):
2310
+ """Sets the sync_finished_at of this ConanPackageUpload.
2311
+
2312
+ The datetime the package sync was finished at.
2313
+
2314
+ :param sync_finished_at: The sync_finished_at of this ConanPackageUpload.
2315
+ :type: datetime
2316
+ """
2317
+
2318
+ self._sync_finished_at = sync_finished_at
2319
+
2320
+ @property
2321
+ def sync_progress(self):
2322
+ """Gets the sync_progress of this ConanPackageUpload.
2323
+
2324
+ Synchronisation progress (from 0-100)
2325
+
2326
+ :return: The sync_progress of this ConanPackageUpload.
2327
+ :rtype: int
2328
+ """
2329
+ return self._sync_progress
2330
+
2331
+ @sync_progress.setter
2332
+ def sync_progress(self, sync_progress):
2333
+ """Sets the sync_progress of this ConanPackageUpload.
2334
+
2335
+ Synchronisation progress (from 0-100)
2336
+
2337
+ :param sync_progress: The sync_progress of this ConanPackageUpload.
2338
+ :type: int
2339
+ """
2340
+
2341
+ self._sync_progress = sync_progress
2342
+
2343
+ @property
2344
+ def tags_automatic(self):
2345
+ """Gets the tags_automatic of this ConanPackageUpload.
2346
+
2347
+
2348
+ :return: The tags_automatic of this ConanPackageUpload.
2349
+ :rtype: Tags
2350
+ """
2351
+ return self._tags_automatic
2352
+
2353
+ @tags_automatic.setter
2354
+ def tags_automatic(self, tags_automatic):
2355
+ """Sets the tags_automatic of this ConanPackageUpload.
2356
+
2357
+
2358
+ :param tags_automatic: The tags_automatic of this ConanPackageUpload.
2359
+ :type: Tags
2360
+ """
2361
+
2362
+ self._tags_automatic = tags_automatic
2363
+
2364
+ @property
2365
+ def tags_immutable(self):
2366
+ """Gets the tags_immutable of this ConanPackageUpload.
2367
+
2368
+
2369
+ :return: The tags_immutable of this ConanPackageUpload.
2370
+ :rtype: Tags
2371
+ """
2372
+ return self._tags_immutable
2373
+
2374
+ @tags_immutable.setter
2375
+ def tags_immutable(self, tags_immutable):
2376
+ """Sets the tags_immutable of this ConanPackageUpload.
2377
+
2378
+
2379
+ :param tags_immutable: The tags_immutable of this ConanPackageUpload.
2380
+ :type: Tags
2381
+ """
2382
+
2383
+ self._tags_immutable = tags_immutable
2384
+
2385
+ @property
2386
+ def tags_static(self):
2387
+ """Gets the tags_static of this ConanPackageUpload.
2388
+
2389
+ 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.
2390
+
2391
+ :return: The tags_static of this ConanPackageUpload.
2392
+ :rtype: dict(str, list[str])
2393
+ """
2394
+ return self._tags_static
2395
+
2396
+ @tags_static.setter
2397
+ def tags_static(self, tags_static):
2398
+ """Sets the tags_static of this ConanPackageUpload.
2399
+
2400
+ 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.
2401
+
2402
+ :param tags_static: The tags_static of this ConanPackageUpload.
2403
+ :type: dict(str, list[str])
2404
+ """
2405
+
2406
+ self._tags_static = tags_static
2407
+
2408
+ @property
2409
+ def type_display(self):
2410
+ """Gets the type_display of this ConanPackageUpload.
2411
+
2412
+
2413
+ :return: The type_display of this ConanPackageUpload.
2414
+ :rtype: str
2415
+ """
2416
+ return self._type_display
2417
+
2418
+ @type_display.setter
2419
+ def type_display(self, type_display):
2420
+ """Sets the type_display of this ConanPackageUpload.
2421
+
2422
+
2423
+ :param type_display: The type_display of this ConanPackageUpload.
2424
+ :type: str
2425
+ """
2426
+
2427
+ self._type_display = type_display
2428
+
2429
+ @property
2430
+ def uploaded_at(self):
2431
+ """Gets the uploaded_at of this ConanPackageUpload.
2432
+
2433
+ The date this package was uploaded.
2434
+
2435
+ :return: The uploaded_at of this ConanPackageUpload.
2436
+ :rtype: datetime
2437
+ """
2438
+ return self._uploaded_at
2439
+
2440
+ @uploaded_at.setter
2441
+ def uploaded_at(self, uploaded_at):
2442
+ """Sets the uploaded_at of this ConanPackageUpload.
2443
+
2444
+ The date this package was uploaded.
2445
+
2446
+ :param uploaded_at: The uploaded_at of this ConanPackageUpload.
2447
+ :type: datetime
2448
+ """
2449
+
2450
+ self._uploaded_at = uploaded_at
2451
+
2452
+ @property
2453
+ def uploader(self):
2454
+ """Gets the uploader of this ConanPackageUpload.
2455
+
2456
+
2457
+ :return: The uploader of this ConanPackageUpload.
2458
+ :rtype: str
2459
+ """
2460
+ return self._uploader
2461
+
2462
+ @uploader.setter
2463
+ def uploader(self, uploader):
2464
+ """Sets the uploader of this ConanPackageUpload.
2465
+
2466
+
2467
+ :param uploader: The uploader of this ConanPackageUpload.
2468
+ :type: str
2469
+ """
2470
+ if (self._configuration.client_side_validation and
2471
+ uploader is not None and len(uploader) < 1):
2472
+ raise ValueError("Invalid value for `uploader`, length must be greater than or equal to `1`") # noqa: E501
2473
+
2474
+ self._uploader = uploader
2475
+
2476
+ @property
2477
+ def uploader_url(self):
2478
+ """Gets the uploader_url of this ConanPackageUpload.
2479
+
2480
+
2481
+ :return: The uploader_url of this ConanPackageUpload.
2482
+ :rtype: str
2483
+ """
2484
+ return self._uploader_url
2485
+
2486
+ @uploader_url.setter
2487
+ def uploader_url(self, uploader_url):
2488
+ """Sets the uploader_url of this ConanPackageUpload.
2489
+
2490
+
2491
+ :param uploader_url: The uploader_url of this ConanPackageUpload.
2492
+ :type: str
2493
+ """
2494
+
2495
+ self._uploader_url = uploader_url
2496
+
2497
+ @property
2498
+ def version(self):
2499
+ """Gets the version of this ConanPackageUpload.
2500
+
2501
+ The raw version for this package.
2502
+
2503
+ :return: The version of this ConanPackageUpload.
2504
+ :rtype: str
2505
+ """
2506
+ return self._version
2507
+
2508
+ @version.setter
2509
+ def version(self, version):
2510
+ """Sets the version of this ConanPackageUpload.
2511
+
2512
+ The raw version for this package.
2513
+
2514
+ :param version: The version of this ConanPackageUpload.
2515
+ :type: str
2516
+ """
2517
+ if (self._configuration.client_side_validation and
2518
+ version is not None and len(version) > 255):
2519
+ raise ValueError("Invalid value for `version`, length must be less than or equal to `255`") # noqa: E501
2520
+
2521
+ self._version = version
2522
+
2523
+ @property
2524
+ def version_orig(self):
2525
+ """Gets the version_orig of this ConanPackageUpload.
2526
+
2527
+
2528
+ :return: The version_orig of this ConanPackageUpload.
2529
+ :rtype: str
2530
+ """
2531
+ return self._version_orig
2532
+
2533
+ @version_orig.setter
2534
+ def version_orig(self, version_orig):
2535
+ """Sets the version_orig of this ConanPackageUpload.
2536
+
2537
+
2538
+ :param version_orig: The version_orig of this ConanPackageUpload.
2539
+ :type: str
2540
+ """
2541
+
2542
+ self._version_orig = version_orig
2543
+
2544
+ @property
2545
+ def vulnerability_counts(self):
2546
+ """Gets the vulnerability_counts of this ConanPackageUpload.
2547
+
2548
+
2549
+ :return: The vulnerability_counts of this ConanPackageUpload.
2550
+ :rtype: WebOSVSeverityCounts
2551
+ """
2552
+ return self._vulnerability_counts
2553
+
2554
+ @vulnerability_counts.setter
2555
+ def vulnerability_counts(self, vulnerability_counts):
2556
+ """Sets the vulnerability_counts of this ConanPackageUpload.
2557
+
2558
+
2559
+ :param vulnerability_counts: The vulnerability_counts of this ConanPackageUpload.
2560
+ :type: WebOSVSeverityCounts
2561
+ """
2562
+
2563
+ self._vulnerability_counts = vulnerability_counts
2564
+
2565
+ @property
2566
+ def vulnerability_scan_results_url(self):
2567
+ """Gets the vulnerability_scan_results_url of this ConanPackageUpload.
2568
+
2569
+
2570
+ :return: The vulnerability_scan_results_url of this ConanPackageUpload.
2571
+ :rtype: str
2572
+ """
2573
+ return self._vulnerability_scan_results_url
2574
+
2575
+ @vulnerability_scan_results_url.setter
2576
+ def vulnerability_scan_results_url(self, vulnerability_scan_results_url):
2577
+ """Sets the vulnerability_scan_results_url of this ConanPackageUpload.
2578
+
2579
+
2580
+ :param vulnerability_scan_results_url: The vulnerability_scan_results_url of this ConanPackageUpload.
2581
+ :type: str
2582
+ """
2583
+
2584
+ self._vulnerability_scan_results_url = vulnerability_scan_results_url
2585
+
2586
+ def to_dict(self):
2587
+ """Returns the model properties as a dict"""
2588
+ result = {}
2589
+
2590
+ for attr, _ in six.iteritems(self.swagger_types):
2591
+ value = getattr(self, attr)
2592
+ if isinstance(value, list):
2593
+ result[attr] = list(map(
2594
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
2595
+ value
2596
+ ))
2597
+ elif hasattr(value, "to_dict"):
2598
+ result[attr] = value.to_dict()
2599
+ elif isinstance(value, dict):
2600
+ result[attr] = dict(map(
2601
+ lambda item: (item[0], item[1].to_dict())
2602
+ if hasattr(item[1], "to_dict") else item,
2603
+ value.items()
2604
+ ))
2605
+ else:
2606
+ result[attr] = value
2607
+ if issubclass(ConanPackageUpload, dict):
2608
+ for key, value in self.items():
2609
+ result[key] = value
2610
+
2611
+ return result
2612
+
2613
+ def to_str(self):
2614
+ """Returns the string representation of the model"""
2615
+ return pprint.pformat(self.to_dict())
2616
+
2617
+ def __repr__(self):
2618
+ """For `print` and `pprint`"""
2619
+ return self.to_str()
2620
+
2621
+ def __eq__(self, other):
2622
+ """Returns true if both objects are equal"""
2623
+ if not isinstance(other, ConanPackageUpload):
2624
+ return False
2625
+
2626
+ return self.to_dict() == other.to_dict()
2627
+
2628
+ def __ne__(self, other):
2629
+ """Returns true if both objects are not equal"""
2630
+ if not isinstance(other, ConanPackageUpload):
2631
+ return True
2632
+
2633
+ return self.to_dict() != other.to_dict()
2634
+