Class: TencentCloud::Dayu::V20180709::DescribeNewL7RulesErrHealthResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DescribeNewL7RulesErrHealthResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeNewL7RulesErrHealth返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, errhealths = nil, requestid = nil) ⇒ DescribeNewL7RulesErrHealthResponse
constructor
A new instance of DescribeNewL7RulesErrHealthResponse.
Constructor Details
#initialize(total = nil, errhealths = nil, requestid = nil) ⇒ DescribeNewL7RulesErrHealthResponse
Returns a new instance of DescribeNewL7RulesErrHealthResponse.
5122 5123 5124 5125 5126 |
# File 'lib/v20180709/models.rb', line 5122 def initialize(total=nil, errhealths=nil, requestid=nil) @Total = total @ErrHealths = errhealths @RequestId = requestid end |
Instance Attribute Details
#ErrHealths ⇒ Object
5120 5121 5122 |
# File 'lib/v20180709/models.rb', line 5120 def ErrHealths @ErrHealths end |
#RequestId ⇒ Object
5120 5121 5122 |
# File 'lib/v20180709/models.rb', line 5120 def RequestId @RequestId end |
#Total ⇒ Object
5120 5121 5122 |
# File 'lib/v20180709/models.rb', line 5120 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 |
# File 'lib/v20180709/models.rb', line 5128 def deserialize(params) @Total = params['Total'] unless params['ErrHealths'].nil? @ErrHealths = [] params['ErrHealths'].each do |i| keyvalue_tmp = KeyValue.new keyvalue_tmp.deserialize(i) @ErrHealths << keyvalue_tmp end end @RequestId = params['RequestId'] end |