Class: TencentCloud::Waf::V20180125::DescribeInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeInstancesResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, instances = nil, requestid = nil) ⇒ DescribeInstancesResponse
constructor
A new instance of DescribeInstancesResponse.
Constructor Details
#initialize(total = nil, instances = nil, requestid = nil) ⇒ DescribeInstancesResponse
Returns a new instance of DescribeInstancesResponse.
5535 5536 5537 5538 5539 |
# File 'lib/v20180125/models.rb', line 5535 def initialize(total=nil, instances=nil, requestid=nil) @Total = total @Instances = instances @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
5533 5534 5535 |
# File 'lib/v20180125/models.rb', line 5533 def Instances @Instances end |
#RequestId ⇒ Object
5533 5534 5535 |
# File 'lib/v20180125/models.rb', line 5533 def RequestId @RequestId end |
#Total ⇒ Object
5533 5534 5535 |
# File 'lib/v20180125/models.rb', line 5533 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 |
# File 'lib/v20180125/models.rb', line 5541 def deserialize(params) @Total = params['Total'] unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| instanceinfo_tmp = InstanceInfo.new instanceinfo_tmp.deserialize(i) @Instances << instanceinfo_tmp end end @RequestId = params['RequestId'] end |