Class: TencentCloud::Cdb::V20170320::RollbackTask
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::RollbackTask
- Defined in:
- lib/v20170320/models.rb
Overview
回档任务详情
Instance Attribute Summary collapse
- #Detail ⇒ Object
- #EndTime ⇒ Object
- #Info ⇒ Object
- #Progress ⇒ Object
- #StartTime ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(info = nil, status = nil, progress = nil, starttime = nil, endtime = nil, detail = nil) ⇒ RollbackTask
constructor
A new instance of RollbackTask.
Constructor Details
#initialize(info = nil, status = nil, progress = nil, starttime = nil, endtime = nil, detail = nil) ⇒ RollbackTask
Returns a new instance of RollbackTask.
13336 13337 13338 13339 13340 13341 13342 13343 |
# File 'lib/v20170320/models.rb', line 13336 def initialize(info=nil, status=nil, progress=nil, starttime=nil, endtime=nil, detail=nil) @Info = info @Status = status @Progress = progress @StartTime = starttime @EndTime = endtime @Detail = detail end |
Instance Attribute Details
#Detail ⇒ Object
13334 13335 13336 |
# File 'lib/v20170320/models.rb', line 13334 def Detail @Detail end |
#EndTime ⇒ Object
13334 13335 13336 |
# File 'lib/v20170320/models.rb', line 13334 def EndTime @EndTime end |
#Info ⇒ Object
13334 13335 13336 |
# File 'lib/v20170320/models.rb', line 13334 def Info @Info end |
#Progress ⇒ Object
13334 13335 13336 |
# File 'lib/v20170320/models.rb', line 13334 def Progress @Progress end |
#StartTime ⇒ Object
13334 13335 13336 |
# File 'lib/v20170320/models.rb', line 13334 def StartTime @StartTime end |
#Status ⇒ Object
13334 13335 13336 |
# File 'lib/v20170320/models.rb', line 13334 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 |
# File 'lib/v20170320/models.rb', line 13345 def deserialize(params) @Info = params['Info'] @Status = params['Status'] @Progress = params['Progress'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] unless params['Detail'].nil? @Detail = [] params['Detail'].each do |i| rollbackinstancesinfo_tmp = RollbackInstancesInfo.new rollbackinstancesinfo_tmp.deserialize(i) @Detail << rollbackinstancesinfo_tmp end end end |