Class: TencentCloud::Gse::V20191112::DescribeFleetCapacityResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::DescribeFleetCapacityResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribeFleetCapacity返回参数结构体
Instance Attribute Summary collapse
-
#FleetCapacity ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fleetcapacity = nil, totalcount = nil, requestid = nil) ⇒ DescribeFleetCapacityResponse
constructor
A new instance of DescribeFleetCapacityResponse.
Constructor Details
#initialize(fleetcapacity = nil, totalcount = nil, requestid = nil) ⇒ DescribeFleetCapacityResponse
Returns a new instance of DescribeFleetCapacityResponse.
1523 1524 1525 1526 1527 |
# File 'lib/v20191112/models.rb', line 1523 def initialize(fleetcapacity=nil, totalcount=nil, requestid=nil) @FleetCapacity = fleetcapacity @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#FleetCapacity ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1521 1522 1523 |
# File 'lib/v20191112/models.rb', line 1521 def FleetCapacity @FleetCapacity end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1521 1522 1523 |
# File 'lib/v20191112/models.rb', line 1521 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1521 1522 1523 |
# File 'lib/v20191112/models.rb', line 1521 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 |
# File 'lib/v20191112/models.rb', line 1529 def deserialize(params) unless params['FleetCapacity'].nil? @FleetCapacity = [] params['FleetCapacity'].each do |i| fleetcapacity_tmp = FleetCapacity.new fleetcapacity_tmp.deserialize(i) @FleetCapacity << fleetcapacity_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |