Class: TencentCloud::As::V20180419::DescribeAutoScalingInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::DescribeAutoScalingInstancesResponse
- Defined in:
- lib/v20180419/models.rb
Overview
DescribeAutoScalingInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(autoscalinginstanceset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAutoScalingInstancesResponse
constructor
A new instance of DescribeAutoScalingInstancesResponse.
Constructor Details
#initialize(autoscalinginstanceset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAutoScalingInstancesResponse
Returns a new instance of DescribeAutoScalingInstancesResponse.
2110 2111 2112 2113 2114 |
# File 'lib/v20180419/models.rb', line 2110 def initialize(autoscalinginstanceset=nil, totalcount=nil, requestid=nil) @AutoScalingInstanceSet = autoscalinginstanceset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AutoScalingInstanceSet ⇒ Object
2108 2109 2110 |
# File 'lib/v20180419/models.rb', line 2108 def AutoScalingInstanceSet @AutoScalingInstanceSet end |
#RequestId ⇒ Object
2108 2109 2110 |
# File 'lib/v20180419/models.rb', line 2108 def RequestId @RequestId end |
#TotalCount ⇒ Object
2108 2109 2110 |
# File 'lib/v20180419/models.rb', line 2108 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 |
# File 'lib/v20180419/models.rb', line 2116 def deserialize(params) unless params['AutoScalingInstanceSet'].nil? @AutoScalingInstanceSet = [] params['AutoScalingInstanceSet'].each do |i| instance_tmp = Instance.new instance_tmp.deserialize(i) @AutoScalingInstanceSet << instance_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |