Class: TencentCloud::Antiddos::V20200309::DescribeNewL7RulesErrHealthResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::DescribeNewL7RulesErrHealthResponse
- Defined in:
- lib/v20200309/models.rb
Overview
DescribeNewL7RulesErrHealth返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(errhealths = nil, total = nil, requestid = nil) ⇒ DescribeNewL7RulesErrHealthResponse
constructor
A new instance of DescribeNewL7RulesErrHealthResponse.
Constructor Details
#initialize(errhealths = nil, total = nil, requestid = nil) ⇒ DescribeNewL7RulesErrHealthResponse
Returns a new instance of DescribeNewL7RulesErrHealthResponse.
5394 5395 5396 5397 5398 |
# File 'lib/v20200309/models.rb', line 5394 def initialize(errhealths=nil, total=nil, requestid=nil) @ErrHealths = errhealths @Total = total @RequestId = requestid end |
Instance Attribute Details
#ErrHealths ⇒ Object
5392 5393 5394 |
# File 'lib/v20200309/models.rb', line 5392 def ErrHealths @ErrHealths end |
#RequestId ⇒ Object
5392 5393 5394 |
# File 'lib/v20200309/models.rb', line 5392 def RequestId @RequestId end |
#Total ⇒ Object
5392 5393 5394 |
# File 'lib/v20200309/models.rb', line 5392 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 |
# File 'lib/v20200309/models.rb', line 5400 def deserialize(params) unless params['ErrHealths'].nil? @ErrHealths = [] params['ErrHealths'].each do |i| keyvalue_tmp = KeyValue.new keyvalue_tmp.deserialize(i) @ErrHealths << keyvalue_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |