struct_rule.go 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. package edas
  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. // Rule is a nested struct in edas response
  17. type Rule struct {
  18. RuleType string `json:"RuleType" xml:"RuleType"`
  19. UpdateTime int `json:"UpdateTime" xml:"UpdateTime"`
  20. Granularity string `json:"Granularity" xml:"Granularity"`
  21. CreateTime int `json:"CreateTime" xml:"CreateTime"`
  22. RuleId string `json:"RuleId" xml:"RuleId"`
  23. State int `json:"State" xml:"State"`
  24. Threshold int `json:"Threshold" xml:"Threshold"`
  25. AppId string `json:"AppId" xml:"AppId"`
  26. ConsumerAppId string `json:"ConsumerAppId" xml:"ConsumerAppId"`
  27. Strategy string `json:"Strategy" xml:"Strategy"`
  28. Duration int `json:"Duration" xml:"Duration"`
  29. Id string `json:"Id" xml:"Id"`
  30. RtThreshold int `json:"RtThreshold" xml:"RtThreshold"`
  31. Resource string `json:"Resource" xml:"Resource"`
  32. }