Class: TencentCloud::Gse::V20191112::DescribeFleetAttributesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::DescribeFleetAttributesResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribeFleetAttributes返回参数结构体
Instance Attribute Summary collapse
-
#FleetAttributes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fleetattributes = nil, totalcount = nil, requestid = nil) ⇒ DescribeFleetAttributesResponse
constructor
A new instance of DescribeFleetAttributesResponse.
Constructor Details
#initialize(fleetattributes = nil, totalcount = nil, requestid = nil) ⇒ DescribeFleetAttributesResponse
Returns a new instance of DescribeFleetAttributesResponse.
1466 1467 1468 1469 1470 |
# File 'lib/v20191112/models.rb', line 1466 def initialize(fleetattributes=nil, totalcount=nil, requestid=nil) @FleetAttributes = fleetattributes @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#FleetAttributes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1464 1465 1466 |
# File 'lib/v20191112/models.rb', line 1464 def FleetAttributes @FleetAttributes end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1464 1465 1466 |
# File 'lib/v20191112/models.rb', line 1464 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1464 1465 1466 |
# File 'lib/v20191112/models.rb', line 1464 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 |
# File 'lib/v20191112/models.rb', line 1472 def deserialize(params) unless params['FleetAttributes'].nil? @FleetAttributes = [] params['FleetAttributes'].each do |i| fleetattributes_tmp = FleetAttributes.new fleetattributes_tmp.deserialize(i) @FleetAttributes << fleetattributes_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |