struct_data.go 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. package ddospro
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // Data is a nested struct in ddospro response
  17. type Data struct {
  18. Cycle int `json:"Cycle" xml:"Cycle"`
  19. CycleResidue int `json:"CycleResidue" xml:"CycleResidue"`
  20. LastBlockTime int `json:"LastBlockTime" xml:"LastBlockTime"`
  21. HoleThresholdMbps int `json:"HoleThresholdMbps" xml:"HoleThresholdMbps"`
  22. CcMode string `json:"CcMode" xml:"CcMode"`
  23. WhiteList string `json:"WhiteList" xml:"WhiteList"`
  24. ExpectionOpenTime int `json:"ExpectionOpenTime" xml:"ExpectionOpenTime"`
  25. Status bool `json:"Status" xml:"Status"`
  26. ResourceId string `json:"ResourceId" xml:"ResourceId"`
  27. OpDesc string `json:"OpDesc" xml:"OpDesc"`
  28. OpAction int `json:"OpAction" xml:"OpAction"`
  29. LastCloseTime int `json:"LastCloseTime" xml:"LastCloseTime"`
  30. RemainingTime int `json:"RemainingTime" xml:"RemainingTime"`
  31. BlockZone string `json:"BlockZone" xml:"BlockZone"`
  32. BlockTime int `json:"BlockTime" xml:"BlockTime"`
  33. TotalClose int `json:"TotalClose" xml:"TotalClose"`
  34. Region string `json:"Region" xml:"Region"`
  35. TotalTime int `json:"TotalTime" xml:"TotalTime"`
  36. CycleTime int `json:"CycleTime" xml:"CycleTime"`
  37. DdosStatus int `json:"DdosStatus" xml:"DdosStatus"`
  38. BlackList string `json:"BlackList" xml:"BlackList"`
  39. Result int `json:"Result" xml:"Result"`
  40. Vip string `json:"Vip" xml:"Vip"`
  41. OpDate int `json:"OpDate" xml:"OpDate"`
  42. UnblockTime int `json:"UnblockTime" xml:"UnblockTime"`
  43. BpsDrop []string `json:"BpsDrop" xml:"BpsDrop"`
  44. Attacks []string `json:"Attacks" xml:"Attacks"`
  45. PpsDrop []string `json:"PpsDrop" xml:"PpsDrop"`
  46. PpsTotal []string `json:"PpsTotal" xml:"PpsTotal"`
  47. BpsTotal []string `json:"BpsTotal" xml:"BpsTotal"`
  48. Total []string `json:"Total" xml:"Total"`
  49. TimeScope TimeScope `json:"TimeScope" xml:"TimeScope"`
  50. PageInfo PageInfo `json:"PageInfo" xml:"PageInfo"`
  51. List []AttackInfo `json:"List" xml:"List"`
  52. }