Class: TencentCloud::Cvm::V20170312::DescribeTaskInfoResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::DescribeTaskInfoResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeTaskInfo返回参数结构体
Instance Attribute Summary collapse
-
#RepairTaskInfoSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, repairtaskinfoset = nil, requestid = nil) ⇒ DescribeTaskInfoResponse
constructor
A new instance of DescribeTaskInfoResponse.
Constructor Details
#initialize(totalcount = nil, repairtaskinfoset = nil, requestid = nil) ⇒ DescribeTaskInfoResponse
Returns a new instance of DescribeTaskInfoResponse.
3316 3317 3318 3319 3320 |
# File 'lib/v20170312/models.rb', line 3316 def initialize(totalcount=nil, repairtaskinfoset=nil, requestid=nil) @TotalCount = totalcount @RepairTaskInfoSet = repairtaskinfoset @RequestId = requestid end |
Instance Attribute Details
#RepairTaskInfoSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3314 3315 3316 |
# File 'lib/v20170312/models.rb', line 3314 def RepairTaskInfoSet @RepairTaskInfoSet end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3314 3315 3316 |
# File 'lib/v20170312/models.rb', line 3314 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3314 3315 3316 |
# File 'lib/v20170312/models.rb', line 3314 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 |
# File 'lib/v20170312/models.rb', line 3322 def deserialize(params) @TotalCount = params['TotalCount'] unless params['RepairTaskInfoSet'].nil? @RepairTaskInfoSet = [] params['RepairTaskInfoSet'].each do |i| repairtaskinfo_tmp = RepairTaskInfo.new repairtaskinfo_tmp.deserialize(i) @RepairTaskInfoSet << repairtaskinfo_tmp end end @RequestId = params['RequestId'] end |