bugly.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. Ret *BugRet `json:"ret"`
  15. }
  16. // BugRet Bug Ret.
  17. type BugRet struct {
  18. NumFound int `json:"numFound"`
  19. BugIssues []*BugIssues `json:"issueList"`
  20. }
  21. // BugIssues Bug Issues.
  22. type BugIssues struct {
  23. IssueID string `json:"issueId"`
  24. Title string `json:"exceptionName"`
  25. ExceptionMsg string `json:"exceptionMessage"`
  26. KeyStack string `json:"keyStack"`
  27. LastTime string `json:"lastestUploadTime"`
  28. Count int64 `json:"count"`
  29. Tags []*BugTag `json:"tagInfoList"`
  30. UserCount int64 `json:"imeiCount"`
  31. Version string `json:"version"`
  32. }
  33. // BugTag Bug Tag.
  34. type BugTag struct {
  35. TagName string `json:"tagName"`
  36. }
  37. // BugIssueDetailResponse Bug Issue Detail Response.
  38. type BugIssueDetailResponse struct {
  39. Code int `json:"code"`
  40. Data *BugIssueDetail `json:"data"`
  41. }
  42. // BugIssueDetail Bug Issue Detail.
  43. type BugIssueDetail struct {
  44. CallStack string `json:"callStack"`
  45. }
  46. // BugVersionResponse Bug Version Response.
  47. type BugVersionResponse struct {
  48. Status int `json:"status"`
  49. Ret *SelectorPropertyList `json:"ret"`
  50. }
  51. // SelectorPropertyList SelectorPropertyList.
  52. type SelectorPropertyList struct {
  53. BugVersionList []*BugVersion `json:"versionList"`
  54. }
  55. // BugVersion BugVersion.
  56. type BugVersion struct {
  57. Name string `json:"name"`
  58. Enable int `json:"enable"`
  59. SDKVersion string `json:"sdkVersion"`
  60. }
  61. // BugIssueExceptionListResponse Bug Issue Exception List Response.
  62. type BugIssueExceptionListResponse struct {
  63. Status int `json:"status"`
  64. Ret *IssueExceptionList `json:"ret"`
  65. }
  66. // IssueExceptionList IssueExceptionList.
  67. type IssueExceptionList struct {
  68. IssueException []*IssueException `json:"issueList"`
  69. }
  70. // IssueException IssueException.
  71. type IssueException struct {
  72. IssueID string `json:"issueId"`
  73. Status int `json:"status"`
  74. }