Class: TencentCloud::Dayu::V20180709::DescribeNewL4RulesErrHealthResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DescribeNewL4RulesErrHealthResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeNewL4RulesErrHealth返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, errhealths = nil, requestid = nil) ⇒ DescribeNewL4RulesErrHealthResponse
constructor
A new instance of DescribeNewL4RulesErrHealthResponse.
Constructor Details
#initialize(total = nil, errhealths = nil, requestid = nil) ⇒ DescribeNewL4RulesErrHealthResponse
Returns a new instance of DescribeNewL4RulesErrHealthResponse.
4997 4998 4999 5000 5001 |
# File 'lib/v20180709/models.rb', line 4997 def initialize(total=nil, errhealths=nil, requestid=nil) @Total = total @ErrHealths = errhealths @RequestId = requestid end |
Instance Attribute Details
#ErrHealths ⇒ Object
4995 4996 4997 |
# File 'lib/v20180709/models.rb', line 4995 def ErrHealths @ErrHealths end |
#RequestId ⇒ Object
4995 4996 4997 |
# File 'lib/v20180709/models.rb', line 4995 def RequestId @RequestId end |
#Total ⇒ Object
4995 4996 4997 |
# File 'lib/v20180709/models.rb', line 4995 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 |
# File 'lib/v20180709/models.rb', line 5003 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 |