Class: TencentCloud::Dbdc::V20201029::DescribeInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbdc::V20201029::DescribeInstancesResponse
- Defined in:
- lib/v20201029/models.rb
Overview
DescribeInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instances = nil, requestid = nil) ⇒ DescribeInstancesResponse
constructor
A new instance of DescribeInstancesResponse.
Constructor Details
#initialize(totalcount = nil, instances = nil, requestid = nil) ⇒ DescribeInstancesResponse
Returns a new instance of DescribeInstancesResponse.
678 679 680 681 682 |
# File 'lib/v20201029/models.rb', line 678 def initialize(totalcount=nil, instances=nil, requestid=nil) @TotalCount = totalcount @Instances = instances @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
676 677 678 |
# File 'lib/v20201029/models.rb', line 676 def Instances @Instances end |
#RequestId ⇒ Object
676 677 678 |
# File 'lib/v20201029/models.rb', line 676 def RequestId @RequestId end |
#TotalCount ⇒ Object
676 677 678 |
# File 'lib/v20201029/models.rb', line 676 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
684 685 686 687 688 689 690 691 692 693 694 695 |
# File 'lib/v20201029/models.rb', line 684 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| = InstanceExpand.new .deserialize(i) @Instances << end end @RequestId = params['RequestId'] end |