package mse

//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

// ResultItemInListCircuitBreakerRules is a nested struct in mse response
type ResultItemInListCircuitBreakerRules struct {
	Namespace                 string  `json:"Namespace" xml:"Namespace"`
	RuleId                    int64   `json:"RuleId" xml:"RuleId"`
	AppName                   string  `json:"AppName" xml:"AppName"`
	Resource                  string  `json:"Resource" xml:"Resource"`
	ResourceType              int     `json:"ResourceType" xml:"ResourceType"`
	Strategy                  int     `json:"Strategy" xml:"Strategy"`
	Threshold                 float64 `json:"Threshold" xml:"Threshold"`
	Enable                    bool    `json:"Enable" xml:"Enable"`
	RetryTimeoutMs            int     `json:"RetryTimeoutMs" xml:"RetryTimeoutMs"`
	StatIntervalMs            int     `json:"StatIntervalMs" xml:"StatIntervalMs"`
	AppId                     string  `json:"AppId" xml:"AppId"`
	RegionId                  string  `json:"RegionId" xml:"RegionId"`
	FallbackObject            string  `json:"FallbackObject" xml:"FallbackObject"`
	MaxAllowedRtMs            int     `json:"MaxAllowedRtMs" xml:"MaxAllowedRtMs"`
	MinRequestAmount          int     `json:"MinRequestAmount" xml:"MinRequestAmount"`
	HalfOpenBaseAmountPerStep int     `json:"HalfOpenBaseAmountPerStep" xml:"HalfOpenBaseAmountPerStep"`
	HalfOpenRecoveryStepNum   int     `json:"HalfOpenRecoveryStepNum" xml:"HalfOpenRecoveryStepNum"`
}
