downloadtask.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "documentation": "A download_task info which is part of a team.",
  3. "fields": [
  4. {
  5. "documentation": "update create_time of this download_task.",
  6. "name": "create_time",
  7. "type": "Long",
  8. "nullable": false,
  9. "index": true
  10. },
  11. {
  12. "documentation": "download_task_id of this download_task.",
  13. "name": "download_task_id",
  14. "type": "Integer",
  15. "nullable": true
  16. },
  17. {
  18. "documentation": "game_name of this download_task.",
  19. "name": "game_name",
  20. "type": "String",
  21. "nullable": false
  22. },
  23. {
  24. "documentation": "icon_url of this download_task.",
  25. "name": "icon_url",
  26. "type": "String",
  27. "nullable": false
  28. },
  29. {
  30. "documentation": "percent of this download_task.",
  31. "name": "percent",
  32. "type": "Integer",
  33. "nullable": true
  34. },
  35. {
  36. "documentation": "downloaded_size of this download_task.",
  37. "name": "downloaded_size",
  38. "type": "Double",
  39. "nullable": true
  40. },
  41. {
  42. "documentation": "total_size of this download_task.",
  43. "name": "total_size",
  44. "type": "Double",
  45. "nullable": true
  46. },
  47. {
  48. "documentation": "status of this download_task.",
  49. "name": "status",
  50. "type": "Integer",
  51. "nullable": false
  52. },
  53. {
  54. "documentation": "download_url of this download_task.",
  55. "name": "download_url",
  56. "type": "String",
  57. "nullable": false
  58. },
  59. {
  60. "documentation": "package_name of this download_task.",
  61. "name": "package_name",
  62. "type": "String",
  63. "nullable": false
  64. },
  65. {
  66. "documentation": "version_code of this download_task.",
  67. "name": "version_code",
  68. "type": "Integer",
  69. "nullable": false
  70. },
  71. {
  72. "documentation": "apk_path of this download_task.",
  73. "name": "apk_path",
  74. "type": "String",
  75. "nullable": false
  76. }
  77. ],
  78. "constraints": [
  79. {
  80. "name": "unique_download_task",
  81. "definition": "UNIQUE (download_url) ON CONFLICT REPLACE"
  82. }
  83. ],
  84. "defaultOrder": "create_time DESC"
  85. }