Class: TencentCloud::Cdwch::V20200915::DescribeInstancesNewResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdwch::V20200915::DescribeInstancesNewResponse
- Defined in:
- lib/v20200915/models.rb
Overview
DescribeInstancesNew返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instanceslist = nil, requestid = nil) ⇒ DescribeInstancesNewResponse
constructor
A new instance of DescribeInstancesNewResponse.
Constructor Details
#initialize(totalcount = nil, instanceslist = nil, requestid = nil) ⇒ DescribeInstancesNewResponse
Returns a new instance of DescribeInstancesNewResponse.
1547 1548 1549 1550 1551 |
# File 'lib/v20200915/models.rb', line 1547 def initialize(totalcount=nil, instanceslist=nil, requestid=nil) @TotalCount = totalcount @InstancesList = instanceslist @RequestId = requestid end |
Instance Attribute Details
#InstancesList ⇒ Object
1545 1546 1547 |
# File 'lib/v20200915/models.rb', line 1545 def InstancesList @InstancesList end |
#RequestId ⇒ Object
1545 1546 1547 |
# File 'lib/v20200915/models.rb', line 1545 def RequestId @RequestId end |
#TotalCount ⇒ Object
1545 1546 1547 |
# File 'lib/v20200915/models.rb', line 1545 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 |
# File 'lib/v20200915/models.rb', line 1553 def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstancesList'].nil? @InstancesList = [] params['InstancesList'].each do |i| instanceinfo_tmp = InstanceInfo.new instanceinfo_tmp.deserialize(i) @InstancesList << instanceinfo_tmp end end @RequestId = params['RequestId'] end |