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