Class: TencentCloud::Tke::V20220501::DescribeClusterInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::DescribeClusterInstancesResponse
- Defined in:
- lib/v20220501/models.rb
Overview
DescribeClusterInstances返回参数结构体
Instance Attribute Summary collapse
-
#Errors ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instanceset = nil, errors = nil, requestid = nil) ⇒ DescribeClusterInstancesResponse
constructor
A new instance of DescribeClusterInstancesResponse.
Constructor Details
#initialize(totalcount = nil, instanceset = nil, errors = nil, requestid = nil) ⇒ DescribeClusterInstancesResponse
Returns a new instance of DescribeClusterInstancesResponse.
556 557 558 559 560 561 |
# File 'lib/v20220501/models.rb', line 556 def initialize(totalcount=nil, instanceset=nil, errors=nil, requestid=nil) @TotalCount = totalcount @InstanceSet = instanceset @Errors = errors @RequestId = requestid end |
Instance Attribute Details
#Errors ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
554 555 556 |
# File 'lib/v20220501/models.rb', line 554 def Errors @Errors end |
#InstanceSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
554 555 556 |
# File 'lib/v20220501/models.rb', line 554 def InstanceSet @InstanceSet end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
554 555 556 |
# File 'lib/v20220501/models.rb', line 554 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
554 555 556 |
# File 'lib/v20220501/models.rb', line 554 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'lib/v20220501/models.rb', line 563 def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceSet'].nil? @InstanceSet = [] params['InstanceSet'].each do |i| instance_tmp = Instance.new instance_tmp.deserialize(i) @InstanceSet << instance_tmp end end @Errors = params['Errors'] @RequestId = params['RequestId'] end |