bugly.go 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. package model
  2. // BugIssueRequest Bug Issue Request.
  3. type BugIssueRequest struct {
  4. StartNum int
  5. Version string
  6. Rows int
  7. PlatformID string
  8. ProjectID string
  9. ExceptionType string
  10. }
  11. // BugIssueResponse Bug Issue Response.
  12. type BugIssueResponse struct {
  13. Status int `json:"status"`
  14. Code int `json:"code"`
  15. Ret *BugRet `json:"ret"`
  16. }
  17. // BugRet Bug Ret.
  18. type BugRet struct {
  19. NumFound int `json:"numFound"`
  20. BugIssues []*BugIssues `json:"issueList"`
  21. }
  22. // BugIssues Bug Issues.
  23. type BugIssues struct {
  24. IssueID string `json:"issueId"`
  25. Title string `json:"exceptionName"`
  26. ExceptionMsg string `json:"exceptionMessage"`
  27. KeyStack string `json:"keyStack"`
  28. LastTime string `json:"lastestUploadTime"`
  29. Count int `json:"count"`
  30. Tags []*BugTag `json:"tagInfoList"`
  31. UserCount int `json:"imeiCount"`
  32. Version string `json:"version"`
  33. }
  34. // BugTag Bug Tag.
  35. type BugTag struct {
  36. TagName string `json:"tagName"`
  37. }
  38. // BugIssueDetailResponse Bug Issue Detail Response.
  39. type BugIssueDetailResponse struct {
  40. Code int `json:"code"`
  41. Data *BugIssueDetail `json:"data"`
  42. }
  43. // BugIssueDetail Bug Issue Detail.
  44. type BugIssueDetail struct {
  45. CallStack string `json:"callStack"`
  46. }
  47. // BugVersionResponse Bug Version Response.
  48. type BugVersionResponse struct {
  49. Status int `json:"status"`
  50. Code int `json:"code"`
  51. Ret *SelectorPropertyList `json:"ret"`
  52. }
  53. // SelectorPropertyList SelectorPropertyList.
  54. type SelectorPropertyList struct {
  55. BugVersionList []*BugVersion `json:"versionList"`
  56. }
  57. // BugVersion BugVersion.
  58. type BugVersion struct {
  59. Name string `json:"name"`
  60. Enable int `json:"enable"`
  61. SDKVersion string `json:"sdkVersion"`
  62. }
  63. // BugIssueExceptionListResponse Bug Issue Exception List Response.
  64. type BugIssueExceptionListResponse struct {
  65. Status int `json:"status"`
  66. Ret *IssueExceptionList `json:"ret"`
  67. }
  68. // IssueExceptionList IssueExceptionList.
  69. type IssueExceptionList struct {
  70. IssueException []*IssueException `json:"issueList"`
  71. }
  72. // IssueException IssueException.
  73. type IssueException struct {
  74. IssueID string `json:"issueId"`
  75. Status int `json:"status"`
  76. }