Class: TencentCloud::Gse::V20191112::CopyFleetResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::CopyFleetResponse
- Defined in:
- lib/v20191112/models.rb
Overview
CopyFleet返回参数结构体
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) ⇒ CopyFleetResponse
constructor
A new instance of CopyFleetResponse.
Constructor Details
#initialize(fleetattributes = nil, totalcount = nil, requestid = nil) ⇒ CopyFleetResponse
Returns a new instance of CopyFleetResponse.
442 443 444 445 446 |
# File 'lib/v20191112/models.rb', line 442 def initialize(fleetattributes=nil, totalcount=nil, requestid=nil) @FleetAttributes = fleetattributes @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#FleetAttributes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
440 441 442 |
# File 'lib/v20191112/models.rb', line 440 def FleetAttributes @FleetAttributes end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
440 441 442 |
# File 'lib/v20191112/models.rb', line 440 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
440 441 442 |
# File 'lib/v20191112/models.rb', line 440 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
448 449 450 451 452 453 454 455 456 457 458 459 |
# File 'lib/v20191112/models.rb', line 448 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 |