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.
13209 13210 13211 13212 13213 13214 13215 13216 |
# File 'lib/v20170320/models.rb', line 13209 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
13207 13208 13209 |
# File 'lib/v20170320/models.rb', line 13207 def Detail @Detail end |
#EndTime ⇒ Object
13207 13208 13209 |
# File 'lib/v20170320/models.rb', line 13207 def EndTime @EndTime end |
#Info ⇒ Object
13207 13208 13209 |
# File 'lib/v20170320/models.rb', line 13207 def Info @Info end |
#Progress ⇒ Object
13207 13208 13209 |
# File 'lib/v20170320/models.rb', line 13207 def Progress @Progress end |
#StartTime ⇒ Object
13207 13208 13209 |
# File 'lib/v20170320/models.rb', line 13207 def StartTime @StartTime end |
#Status ⇒ Object
13207 13208 13209 |
# File 'lib/v20170320/models.rb', line 13207 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 |
# File 'lib/v20170320/models.rb', line 13218 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 |