Class: TencentCloud::Gse::V20191112::DescribeInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::DescribeInstancesResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribeInstances返回参数结构体
Instance Attribute Summary collapse
-
#Instances ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instances = nil, totalcount = nil, requestid = nil) ⇒ DescribeInstancesResponse
constructor
A new instance of DescribeInstancesResponse.
Constructor Details
#initialize(instances = nil, totalcount = nil, requestid = nil) ⇒ DescribeInstancesResponse
Returns a new instance of DescribeInstancesResponse.
2378 2379 2380 2381 2382 |
# File 'lib/v20191112/models.rb', line 2378 def initialize(instances=nil, totalcount=nil, requestid=nil) @Instances = instances @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2376 2377 2378 |
# File 'lib/v20191112/models.rb', line 2376 def Instances @Instances end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2376 2377 2378 |
# File 'lib/v20191112/models.rb', line 2376 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2376 2377 2378 |
# File 'lib/v20191112/models.rb', line 2376 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 |
# File 'lib/v20191112/models.rb', line 2384 def deserialize(params) unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| instance_tmp = Instance.new instance_tmp.deserialize(i) @Instances << instance_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |