Class: TencentCloud::Tke::V20220501::DescribeClusterMachinesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::DescribeClusterMachinesResponse
- Defined in:
- lib/v20220501/models.rb
Overview
DescribeClusterMachines返回参数结构体
Instance Attribute Summary collapse
-
#Machines ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(machines = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterMachinesResponse
constructor
A new instance of DescribeClusterMachinesResponse.
Constructor Details
#initialize(machines = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterMachinesResponse
Returns a new instance of DescribeClusterMachinesResponse.
763 764 765 766 767 |
# File 'lib/v20220501/models.rb', line 763 def initialize(machines=nil, totalcount=nil, requestid=nil) @Machines = machines @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Machines ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
761 762 763 |
# File 'lib/v20220501/models.rb', line 761 def Machines @Machines end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
761 762 763 |
# File 'lib/v20220501/models.rb', line 761 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
761 762 763 |
# File 'lib/v20220501/models.rb', line 761 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
769 770 771 772 773 774 775 776 777 778 779 780 |
# File 'lib/v20220501/models.rb', line 769 def deserialize(params) unless params['Machines'].nil? @Machines = [] params['Machines'].each do |i| machine_tmp = Machine.new machine_tmp.deserialize(i) @Machines << machine_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |